Commit Graph

47 Commits (ae8953409e30ef9d7dd6bc40350fccc2a29ffb4b)

Author SHA1 Message Date
Sergey M․ 6621ca39a3 [ted] Skip hls quality selection format 10 years ago
Sergey M․ 14f7abfa71 [ted] Lower preference for direct audio since it's mono 10 years ago
Sergey M․ 0f0b5736da [ted] Fix hls audio/video-only formats 10 years ago
Sergey M․ cfbee8a431 [ted] Clarify IE_NAME 10 years ago
Sergey M․ 736785ab63 [ted] Clarify audio/video-only formats 10 years ago
Sergey M․ 66ee7b3234 [ted] Extract all formats (Closes #5397) 10 years ago
Jaime Marquínez Ferrándiz bfc993cc91 Merge branch 'subtitles-rework'
(Closes PR #4964)
10 years ago
Jaime Marquínez Ferrándiz 03091e372f [ted] Always extract the subtitles
The required info is already in the webpage
10 years ago
Sergey M․ a461a11989 [ted] Improve external video handling and add test 10 years ago
minusf 1bd838608f prefer 'code' to 'uri' if present 10 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.
10 years ago
Jaime Marquínez Ferrándiz cd791a5ea0 [ted] Add support for embed-ssl.ted.com embedded videos 10 years ago
Philipp Hagemeister 1cc79574fc Fix imports and general cleanup
· Import from compat what comes from compat. Yes, some names are available in utils too, but that's an implementation detail.
· Use _match_id consistently whenever possible
· Fix some outdated tests
· Use consistent valid URL (always match the whole protocol, no ^ at start required)
· Use modern test definitions
10 years ago
Sergey M․ de9bd74bc2 [ted] Fix type_watch links extraction 10 years ago
Jouke Waleson 9e1a5b8455 PEP8: applied even more rules 10 years ago
Jaime Marquínez Ferrándiz eb4cb42a02 [ted] Extract duration (closes #4155) 10 years ago
Jaime Marquínez Ferrándiz a72cbfacf0 [ted] Add support for external videos (fixes #3948) 10 years ago
Philipp Hagemeister a8eb5a8e61 [generic] Fix testcases 10 years ago
Philipp Hagemeister 22a6f15061 Move playlist tests to extractors.
From now on, test_download will run these tests. That means we benefit not only from the networking setup in there, but also from the other tests (for example test_all_urls to find problems with _VALID_URLs).
10 years ago
Philipp Hagemeister a9d3890fcb [ted] Remove md5sum from test
This failed multiple times, and the md5sum is not that important anyways.
10 years ago
Sergey M․ 4d2f143ce5 [ted] Update test md5 11 years ago
Sergey M․ 5bec574859 [ted] Update test 11 years ago
Philipp Hagemeister 621f33c9d0 [ted] Extend search for description 11 years ago
Philipp Hagemeister f07a9f6f43 [ted] Remove superfluous u prefixes 11 years ago
Jaime Marquínez Ferrándiz 2d4c98dbd1 [ted] Use the rtmp links if there http downloads are not available. 11 years ago
Philipp Hagemeister 0ba77818f3 [ted] Add width and height (Fixes #2716) 11 years ago
Philipp Hagemeister ac6c104871 [ted] Add support for watch/ URLs (Fixes #2637) 11 years ago
Philipp Hagemeister aab74fa106 [ted] Simplify embed code (#2587) 11 years ago
anovicecodemonkey fc26023120 [TEDIE] Add support for embeded TED video URLs 11 years ago
Jaime Marquínez Ferrándiz b6c1ceccc2 [ted] Add 'http://' to the thumbnail url if it's missing 11 years ago
Jaime Marquínez Ferrándiz 7b9965ea93 [ted] Remove unused import and modernize test 11 years ago
Jaime Marquínez Ferrándiz bacac173a9 [ted] Style fixes 11 years ago
Jaime Marquínez Ferrándiz ca1fee34f2 [ted] Fix playlist extraction and add a test 11 years ago
Jaime Marquínez Ferrándiz 652bee05f0 [ted] Fix video extraction
The site has been redesigned
11 years ago
Philipp Hagemeister 26dca1661e [ted] Updated checksums 11 years ago
Philipp Hagemeister f853f8594d [ted] Use unicode_literals 11 years ago
Philipp Hagemeister f3682997d7 Clean up unused imports and other minor mistakes 11 years ago
Philipp Hagemeister fc2ef392be [ted] Fix playlists (Fixes #1770) 11 years ago
Philipp Hagemeister 463a908705 [ted] simplify 11 years ago
Jaime Marquínez Ferrándiz be6dfd1b49 [ted] Return a single info_dict for talks urls
It failed with the --list-subs option
11 years ago
Ismaël Mejía 4ed3e51080 [ted] fixed error in case of no subtitles present
I created a test, but I leave it commented since TED videos get
new subtitles frequently.
11 years ago
Ismaël Mejía a9a3876d55 [ted] Added support for subtitle download 11 years ago
Philipp Hagemeister 0d8cb1cc14 [ted] Prepare #980 merge 11 years ago
Jaime Marquínez Ferrándiz 177ed935a9 TEDIE: fix the title extraction 11 years ago
Philipp Hagemeister 9c5cd0948f [ted] Fix test checksum 12 years ago
Philipp Hagemeister 6f5ac90cf3 Move tests to the IE definitions 12 years ago
Philipp Hagemeister 9fd5ce0cbe Move TED IE into its own file 12 years ago