Sergey M․
c4d6fc6d65
[test_subtitles] Fix raiplay test
7 years ago
remitamine
920d21b9d3
[test_subtitles] update youtube subtitles tests
8 years ago
Yen Chi Hsuan
189d72d5fd
[test_subtitles] Fix TestRaiSubtitles
RaiIE is renamed to RaiTVIE in 06d5556dfa
8 years ago
remitamine
f11d00fa41
[test_subtitles] remove BlipTV test
9 years ago
Yen Chi Hsuan
66d041f250
[test/subtitles] Add test for DemocracynowIE
9 years ago
Yen Chi Hsuan
f908b74fa3
[test/subtitles] Add test for ThePlatformFeedIE
9 years ago
Yen Chi Hsuan
f0bfaa2d7d
[nrk] Update subtitles test
Subtitle conversion routine is removed, so the subtitles are TTML now. See
1c7e2e64f6
9 years ago
Sergey M․
7e195d0e92
[funnyordie] Add subtitles test
9 years ago
Jaime Marquínez Ferrándiz
25ac63ed71
[rtve] Extract subtitles
9 years ago
Jaime Marquínez Ferrándiz
80970e531b
[test/subtitles] Update checksum for Viki
9 years ago
Jaime Marquínez Ferrándiz
b7bb76df05
[test/subtitles] Remove some tests
Test only with 'allsubtitles', the language selection is already tested in test_YoutubeDL.py
9 years ago
Jaime Marquínez Ferrándiz
4d17184817
[YoutubeDL] don't set the 'requested_subtitles' without writesubtitles or writeautomaticsub
9 years ago
Jaime Marquínez Ferrándiz
8807f1277f
[theplatform] Convert to new subtitles system
9 years ago
Jaime Marquínez Ferrándiz
4f7cea6c53
[viki] Convert to new subtitles system
9 years ago
Jaime Marquínez Ferrándiz
afbdd3acc3
[rai] Convert to new subtitles system
9 years ago
Jaime Marquínez Ferrándiz
01561da142
[nrk] Convert to new subtitles system
9 years ago
Jaime Marquínez Ferrándiz
0af25f784b
[mtv] Convert to new subtitles system
9 years ago
Jaime Marquínez Ferrándiz
b9b42f2ea0
[npo] Convert to new subtitles system
9 years ago
Jaime Marquínez Ferrándiz
311c393838
[lynda] Convert to new subtitles system
9 years ago
Jaime Marquínez Ferrándiz
85920dd01d
[bliptv] Convert to new subtitles system
9 years ago
Jaime Marquínez Ferrándiz
360e1ca5cc
[youtube] Convert to new subtitles system
The automatic captions are stored in the 'automactic_captions' field, which is used if no normal subtitles are found for an specific language.
9 years ago
Jaime Marquínez Ferrándiz
a1f2a06b34
[dailymotion] Convert to new subtitles system
9 years ago
Jaime Marquínez Ferrándiz
c84dd8a90d
[YoutubeDL] store the subtitles to download in the 'requested_subtitles' field
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.
9 years ago
Jaime Marquínez Ferrándiz
65469a7f8b
[vimeo] Convert to new subtitles system
Removed some tests, the behaviour should be checked in a test for the YoutubeDL class
9 years ago
Jaime Marquínez Ferrándiz
a504ced097
Improve subtitles support
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.
9 years ago
Jaime Marquínez Ferrándiz
8fb474fb17
[test/subtitles] Fix some tests
The checksym for the CeskaTelevize subtitles has changed again, so we just test that it has a reasonable length.
9 years ago
Jaime Marquínez Ferrándiz
36e7a4ca2e
[test/subtitles] Update checksums
9 years ago
Sergey M․
0b54a5b10a
[ceskatelevize] Add subtitles tests
10 years ago
Jaime Marquínez Ferrándiz
7d900ef1bf
[youtube] Add support for automatically translated subtitles ( fixes #4555 )
They have a manually uploaded subtitles track and YouTube can transtale it.
10 years ago
Jaime Marquínez Ferrándiz
4472f84f0c
[test/test_subtitles] Update checksum for vimeo subtitle file
10 years ago
Jouke Waleson
5f6a1245ff
PEP8 applied
10 years ago
Philipp Hagemeister
a0f59cdcb4
[tests] Modernize
10 years ago
Sergey M․
0ca41c3d9c
[walla] Fix typo
10 years ago
Sergey M․
7bc8780c57
[walla] Fix extractor and add subtitle tests
10 years ago
Sergey M․
345e37831c
[youtube] Update nosubtitles test
10 years ago
Philipp Hagemeister
0321213c11
[test_subtitles] Allow more subtitles for TED videos
10 years ago
Sergey M.
b0268cb6ce
[vimeo] Remove superfluous whitespace
10 years ago
Sergey M.
4edff4cfa8
[vimeo] Add subtitle tests
10 years ago
Philipp Hagemeister
b4bcffefa3
[blip.tv] Add support for subtitles ( #2274 )
10 years ago
Philipp Hagemeister
26dca1661e
[ted] Updated checksums
11 years ago
Jaime Marquínez Ferrándiz
9d8d675e0e
[subtitles-tests] Fix youtube test
It returns now a single info_dict
11 years ago
Philipp Hagemeister
4e0084d92e
[youtube/subtitles] Change MD5 of vtt subtitle in test
11 years ago
Philipp Hagemeister
d0efb9ec9a
[tests] Remove global_setup function
11 years ago
Jaime Marquínez Ferrándiz
ae84f879d7
Merge all the subtitles test into a single file
They reuse a base class
11 years ago