Age | Commit message (Collapse) | Author |
|
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.
|
|
For keeping backwards compatibility --all-sub sets --write-sub if --write-auto-sub is not given
|
|
and `--write-auto-sub` (fixes #1224)
|
|
'--list-sub'
|
|
English (fixes #1225) and download in multiple languages.
|
|
It raises ExtractorError for the same exceptions we have to catch.
|
|
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 {}.
|
|
Otherwise it can be automatically detected as a IE ready for use.
|
|
As mentioned in the pull request, I forgot to include this changes.
https://github.com/rg3/youtube-dl/commit/aa6a10c44a8e2e86f709c5301f9ea6ac3f01f002
|
|
auto-caption
|
|
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.
|
|
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.
|