Commit Graph

101 Commits (8fb38341ae13fb0de040e63ceeef682726585e1e)

Author SHA1 Message Date
Philipp Hagemeister 11e611a7fa Extend various playlist tests 10 years ago
Jaime Marquínez Ferrándiz a1f2a06b34 [dailymotion] Convert to new subtitles system 10 years ago
Philipp Hagemeister 1cc79574fc Fix imports and general cleanup
· Import from compat what comes from compat. Yes, some names are available in utils too, but that's an implementation detail.
· Use _match_id consistently whenever possible
· Fix some outdated tests
· Use consistent valid URL (always match the whole protocol, no ^ at start required)
· Use modern test definitions
10 years ago
Jouke Waleson 9e1a5b8455 PEP8: applied even more rules 10 years ago
Jouke Waleson 5f6a1245ff PEP8 applied 10 years ago
Jaime Marquínez Ferrándiz 9e05d039e0 [dailymotion] Fix extraction of vevo videos (fixes #4168) 10 years ago
Philipp Hagemeister b10609d98c [dailymotion] Alternative title search (Fixes #3882) 10 years ago
Philipp Hagemeister 22a6f15061 Move playlist tests to extractors.
From now on, test_download will run these tests. That means we benefit not only from the networking setup in there, but also from the other tests (for example test_all_urls to find problems with _VALID_URLs).
10 years ago
Philipp Hagemeister ce6815aad3 [dailymotion] Correct test case 10 years ago
Petr Půlpán 85342674b2 [Dailymotion] fix uploader name (fixes #3153) 11 years ago
Sergey M․ 4b10aadffc [dailymotion] Fix user playlist extraction 11 years ago
Philipp Hagemeister 0610a3e0b2 Remove unused imports 11 years ago
Philipp Hagemeister b0fb63abe8 [dailymotion:playlist] Fix title 11 years ago
Philipp Hagemeister 1525148114 Remove unused imports 11 years ago
Philipp Hagemeister 1e0a235f39 [dailymotion] Fix playlist+user 11 years ago
Jaime Marquínez Ferrándiz 553f6e4633 [dailymotion] Convert width and height fields from strings to integers 11 years ago
Jaime Marquínez Ferrándiz 9ee859b683 [daylimotion] Add support for urls from the mobile site (fixes #1953)
It uses the 'touch' subdomain and adds a '#' before 'video'
11 years ago
Jaime Marquínez Ferrándiz 5458b4cefb [dailymotion] Fix view count extraction and make it non fatal (fixes #1940) 11 years ago
Jaime Marquínez Ferrándiz 7c86cd5ab1 [dailymotion] Fix uploader extraction
Now it looks directly in the info dictionary
11 years ago
Jaime Marquínez Ferrándiz 563e405411 [dailymotion] Fix view count regex
In some languages they can be in the format '123,456' instead of '123.456'
11 years ago
Jaime Marquínez Ferrándiz f53c966a73 [dailymotion] Extract view count (#1895) 11 years ago
Philipp Hagemeister f058e34011 [dailymotion] Fix playlists 11 years ago
Ismaël Mejía 38db46794f Merge branch 'ted_subtitles' 11 years ago
Ismaël Mejía 1f343eaabb [subtitles] refactor to support websites with subtitle information the
webpage.

I added the parameter webpage, so now it's similar to the way automatic
captions are handled. This is an improvement needed for websites like
TED.
11 years ago
Philipp Hagemeister 9f1109a564 [dailymotion] Fix support for age-restricted videos (Fixes #1688) 11 years ago
Jaime Marquínez Ferrándiz cdec0190c4 [dailymotion] Extract all the available formats (closes #1028) 11 years ago
Jaime Marquínez Ferrándiz c3fef636b5 [dailymotion] Fix playlist extraction
The html code has changed, make the video ids extraction more solid.
11 years ago
Jaime Marquínez Ferrándiz c54283824c [dailymotion] Detect vevo videos (fixes #1532)
All videos from the Vevo user, just embed videos from vevo.com
11 years ago
Jaime Marquínez Ferrándiz 70922df8b5 [dailymotion] Disable the family filter in the playlists (fixes #1524) 11 years ago
Jaime Marquínez Ferrándiz 39baacc49f [dailymotion] Add an extractor for users (closes #1476) 11 years ago
Jaime Marquínez Ferrándiz 3a1d48d6de [dailymotion] Raise ExtractorError if the dailymotion response reports an error 11 years ago
Jaime Marquínez Ferrándiz 7fad1c6328 [subtitles] Use self._download_webpage for extracting the subtitles
It raises ExtractorError for the same exceptions we have to catch.
11 years ago
Jaime Marquínez Ferrándiz d82134c339 [subtitles] Simplify the extraction of subtitles in subclasses and remove NoAutoSubtitlesInfoExtractor
Subclasses just need to call the method extract_subtitles, which will call _extract_subtitles and _request_automatic_caption
Now the default implementation of _request_automatic_caption returns {}.
11 years ago
Jaime Marquínez Ferrándiz 54d39d8b2f [subtitles] rename SubitlesIE to SubtitlesInfoExtractor
Otherwise it can be automatically detected as a IE ready for use.
11 years ago
Ismael Mejia f8e52269c1 [subtitles] made inheritance hierarchy flat as requested 11 years ago
Ismael Mejia 72836fcee4 Merge branch 'master' into subtitles_rework 11 years ago
Jaime Marquínez Ferrándiz a490fda746 [daylimotion] accept embed urls (fixes #1386) 11 years ago
Jaime Marquínez Ferrándiz 4ff7a0f1f6 [dailymotion] improve the regex for extracting the video info 11 years ago
Ismael Mejia 06a401c845 Merge branch 'master' into subtitles_rework 11 years ago
M.Yasoob Ullah Khalid ☺ 976fc7d137 fixed tests for c56 and dailymotion 11 years ago
Ismael Mejia 18b4e04f1c Merge branch 'master' into subtitles_rework 11 years ago
Ismael Mejia 69df680b97 [subtitles] Improved docs + new class for servers who don't support
auto-caption
11 years ago
Ismael Mejia 8377574c9c [internal] Improved subtitle architecture + (update in
youtube/dailymotion)

The structure of subtitles was refined, you only need to implement one
method that returns a dictionnary of the available subtitles (lang, url) to
support all the subtitle options in a website. I updated the subtitle
downloaders for youtube/dailymotion to show how it works.
11 years ago
Ismael Mejia 953e32b2c1 [dailymotion] Added support for subtitles + new InfoExtractor for
generic subtitle download.

The idea is that all subtitle downloaders must descend from SubtitlesIE
and implement only three basic methods to achieve the complete subtitle
download functionality. This will allow to reduce the code in YoutubeIE
once it is rewritten.
11 years ago
Jaime Marquínez Ferrándiz a3c736def2 [dailymotion] Add an extractor for Dailymotion playlists 11 years ago
Jaime Marquínez Ferrándiz 46720279c2 InfoExtractor: add some helper methods to extract OpenGraph info 12 years ago
Jaime Marquínez Ferrándiz b29f3b250d DailymotionIE: extract thumbnail 12 years ago
Jaime Marquínez Ferrándiz 2491f5898e DailymotionIE: simplify the extraction of the title and remove an unused assignment of video_uploader 12 years ago
Jaime Marquínez Ferrándiz b27c856fbc Dailymotion: fix the download of the video in the max quality (closes #986) 12 years ago
Philipp Hagemeister 6f5ac90cf3 Move tests to the IE definitions 12 years ago
Philipp Hagemeister 219b8130df Move DailyMotion into its own file 12 years ago