Commit Graph

25 Commits (3d60d33773e1be28955a74c3491edd13581aeb8b)

Author SHA1 Message Date
Filippo Valsorda d3f46b9aa5 Add support for single-test tox runs
Use a sintax like
    tox test.test_download:TestDownload.test_NowVideo
to run the specific test on all the tox environments (Python versions)
11 years ago
Filippo Valsorda 00fcc17aee add capability to suppress expected warnings in tests 11 years ago
Jaime Marquínez Ferrándiz 0b7f31184d Now --all-sub is a modifier to --write-sub and --write-auto-sub (closes #1412)
For keeping backwards compatibility --all-sub sets --write-sub if --write-auto-sub is not given
11 years ago
Ismael Mejia d6e203b3dc [subtitles] fixed multiple subtitles language separated by comma after merge
As mentioned in the pull request, I forgot to include this changes.
aa6a10c44a
11 years ago
Ismael Mejia d80a064eff [subtitles] Added tests to check correct behavior when no subtitles are
available
11 years ago
Ismael Mejia 447591e1ae [test] Cleaned subtitles tests 11 years ago
Ismael Mejia 33eb0ce4c4 [subtitles] removed only-sub option (--skip-download achieves the same
functionality)
11 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.
11 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