aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/subtitles.py
AgeCommit message (Collapse)Author
2013-11-02[subtitles] refactor to support websites with subtitle information theIsmaël Mejía
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.
2013-09-14Now --all-sub is a modifier to --write-sub and --write-auto-sub (closes #1412)Jaime Marquínez Ferrándiz
For keeping backwards compatibility --all-sub sets --write-sub if --write-auto-sub is not given
2013-09-12Check for both automatic captions and subtitles with options `--write-sub` ↵Jaime Marquínez Ferrándiz
and `--write-auto-sub` (fixes #1224)
2013-09-11[subtitles] Also list the available automatic captions languages with ↵Jaime Marquínez Ferrándiz
'--list-sub'
2013-09-11[youtube] Support automatic captions with original language different from ↵Jaime Marquínez Ferrándiz
English (fixes #1225) and download in multiple languages.
2013-09-11[subtitles] Use self._download_webpage for extracting the subtitlesJaime Marquínez Ferrándiz
It raises ExtractorError for the same exceptions we have to catch.
2013-09-11[subtitles] Simplify the extraction of subtitles in subclasses and remove ↵Jaime Marquínez Ferrándiz
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 {}.
2013-09-11[subtitles] rename SubitlesIE to SubtitlesInfoExtractorJaime Marquínez Ferrándiz
Otherwise it can be automatically detected as a IE ready for use.
2013-09-06[subtitles] fixed multiple subtitles language separated by comma after mergeIsmael Mejia
As mentioned in the pull request, I forgot to include this changes. https://github.com/rg3/youtube-dl/commit/aa6a10c44a8e2e86f709c5301f9ea6ac3f01f002
2013-08-08[subtitles] Improved docs + new class for servers who don't supportIsmael Mejia
auto-caption
2013-08-08[internal] Improved subtitle architecture + (update inIsmael Mejia
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.
2013-08-07[dailymotion] Added support for subtitles + new InfoExtractor forIsmael Mejia
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.