aboutsummaryrefslogtreecommitdiff
path: root/test/test_subtitles.py
AgeCommit message (Collapse)Author
2015-02-16[vimeo] Convert to new subtitles systemJaime Marquínez Ferrándiz
Removed some tests, the behaviour should be checked in a test for the YoutubeDL class
2015-02-16Improve subtitles supportJaime Marquínez Ferrándiz
For each language the extractor builds a list with the available formats sorted (like for video formats), then YoutubeDL selects one of them using the '--sub-format' option which now allows giving the format preferences (for example 'ass/srt/best'). For each format the 'url' field can be set so that we only download the contents if needed, or if the contents needs to be processed (like in crunchyroll) the 'data' field can be used. The reasons for this change are: * We weren't checking that the format given with '--sub-format' was available, checking it in each extractor would be repetitive. * It allows to easily support giving a format preference. * The subtitles were automatically downloaded in the extractor, but I think that if you use for example the '--dump-json' option you want to finish as fast as possible. Currently only the ted extractor has been updated, but the old system still works.
2015-02-15[test/subtitles] Fix some testsJaime Marquínez Ferrándiz
The checksym for the CeskaTelevize subtitles has changed again, so we just test that it has a reasonable length.
2015-02-13[test/subtitles] Update checksumsJaime Marquínez Ferrándiz
2015-01-07[ceskatelevize] Add subtitles testsSergey M․
2014-12-31[youtube] Add support for automatically translated subtitles (fixes #4555)Jaime Marquínez Ferrándiz
They have a manually uploaded subtitles track and YouTube can transtale it.
2014-11-30[test/test_subtitles] Update checksum for vimeo subtitle fileJaime Marquínez Ferrándiz
2014-11-23PEP8 appliedJouke Waleson
2014-11-16[tests] ModernizePhilipp Hagemeister
2014-10-09[walla] Fix typoSergey M․
2014-10-07[walla] Fix extractor and add subtitle testsSergey M․
2014-07-11[youtube] Update nosubtitles testSergey M․
2014-04-21[test_subtitles] Allow more subtitles for TED videosPhilipp Hagemeister
2014-02-03[vimeo] Remove superfluous whitespaceSergey M.
2014-02-03[vimeo] Add subtitle testsSergey M.
2014-02-03[blip.tv] Add support for subtitles (#2274)Philipp Hagemeister
2014-01-17[ted] Updated checksumsPhilipp Hagemeister
2013-12-23[subtitles-tests] Fix youtube testJaime Marquínez Ferrándiz
It returns now a single info_dict
2013-11-28[youtube/subtitles] Change MD5 of vtt subtitle in testPhilipp Hagemeister
2013-11-25[tests] Remove global_setup functionPhilipp Hagemeister
2013-11-10Merge all the subtitles test into a single fileJaime Marquínez Ferrándiz
They reuse a base class