aboutsummaryrefslogtreecommitdiff
path: root/test/test_subtitles.py
AgeCommit message (Collapse)Author
2015-05-27[nrk] Update subtitles testYen Chi Hsuan
Subtitle conversion routine is removed, so the subtitles are TTML now. See 1c7e2e64f6328024711d5fa999d4498396f4cb5c
2015-03-11[funnyordie] Add subtitles testSergey M․
2015-02-23[rtve] Extract subtitlesJaime Marquínez Ferrándiz
2015-02-22[test/subtitles] Update checksum for VikiJaime Marquínez Ferrándiz
2015-02-22[test/subtitles] Remove some testsJaime Marquínez Ferrándiz
Test only with 'allsubtitles', the language selection is already tested in test_YoutubeDL.py
2015-02-22[YoutubeDL] don't set the 'requested_subtitles' without writesubtitles or ↵Jaime Marquínez Ferrándiz
writeautomaticsub
2015-02-19[theplatform] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-18[viki] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-18[rai] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-18[nrk] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-18[mtv] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-18[npo] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-18[lynda] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-17[bliptv] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-16[youtube] Convert to new subtitles systemJaime Marquínez Ferrándiz
The automatic captions are stored in the 'automactic_captions' field, which is used if no normal subtitles are found for an specific language.
2015-02-16[dailymotion] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-16[YoutubeDL] store the subtitles to download in the 'requested_subtitles' fieldJaime Marquínez Ferrándiz
We need to keep the orginal subtitles information, so that the '--load-info' option can be used to list or select the subtitles again. We'll also be able to have a separate field for storing the automatic captions info.
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