Commit Graph

69 Commits (b0f001a6cbd220c8b10c0ce359f17072d6347a8f)

Author SHA1 Message Date
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