Commit Graph

19 Commits (fd9cf738363e180bb3abf0829e1f322e12c68b21)

Author SHA1 Message Date
Jaime Marquínez Ferrándiz aa6a10c44a Allow to specify multiple subtitles languages separated by commas (closes #518) 12 years ago
Jaime Marquínez Ferrándiz 5d51a883c2 Use a dictionary for storing the subtitles
The errors while getting the subtitles are reported as warnings, if no subtitles are found return and empty dict.
12 years ago
Philipp Hagemeister 112da0a0ce Simplify FakeYDL 12 years ago
Ismael Mejia 65cceef8f4 Added support for additional vtt subtitle format (WebVTT) in youtube-dl. 12 years ago
Jaime Marquínez Ferrándiz b004821fa9 Add the option "--write-auto-sub" to download automatic subtitles from Youtube
Now automatic subtitles are only downloaded if the option is given.
(closes #903)
12 years ago
Jaime Marquínez Ferrándiz 8bf8b5a577 Use the new class in the tests 12 years ago
Philipp Hagemeister 0824c28c8b Remove mentions of old InfoExtractors module 12 years ago
Jaime Marquínez Ferrándiz dc1c355b72 YoutubeIE: fallback to automatic captions when subtitles aren't found (closes #843)
Also modify test_youtube_subtitles to support running the tests in any order.
12 years ago
Jaime Marquínez Ferrándiz 057c9938a1 Import FileDownloader in test_youtube_subtitles
Fix last commit
12 years ago
Jaime Marquínez Ferrándiz 9259966132 test_youtube_subtitles: FakeDownloader inherits form FileDownloader 12 years ago
Philipp Hagemeister 8749b71273 Fix FakeDownloaders 12 years ago
Jaime Marquínez Ferrándiz 49da66e459 The test video for subtitles has added a new language 12 years ago
Ismael Mejia 2a4093eaf3 Added new option '--list-subs' to show the available subtitle languages 12 years ago
Ismael Mejia 9e62bc4439 Added new option '--sub-format' to choose the format of the subtitles to downloade (defaut=srt) 12 years ago
Ismael Mejia ae608b8076 Added new option '--all-srt' to download all the subtitles of a video.
Only works in youtube for the moment.
12 years ago
Ismael Mejia cdb130b09a Added new option '--only-srt' to download only the subtitles of a video
Improved option '--srt-lang'
 - it shows the argument in case of missing subtitles
 - added language suffix for non-english languages (e.g. video.it.srt)
12 years ago
Ismael Mejia 2e5d60b7db Removed conversion from youtube closed caption format to srt since youtube api supports the 'srt' format 12 years ago
Filippo Valsorda 6b3aef80ce better Vimeo tests; fixed a couple of VimeoIE fields 12 years ago
Filippo Valsorda 5e5ddcfbcf test subtitles 12 years ago