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