Commit Graph

64 Commits (5014bd67c22b421207b2650d4dc874b95b36dda1)

Author SHA1 Message Date
Sergey M․ 6511b8e8d7
[ted] Prefer own formats over external sources (closes #29142) 3 years ago
Remita Amine 2a88a0c44d [ted] check for resources validity and extract subtitled downloads(closes #22513) 5 years ago
Sergey M․ cdb7c7d147
[ted] Restrict info regex (closes #21631) 5 years ago
Sergey M․ dbb1886114
[ted] Improve playlist extraction (closes #21032) 5 years ago
biwubo c2ee6fa66a
[ted] Fix playlist extraction (closes #20844) 5 years ago
Remita Amine f28363ad1f [ted] correct acodec for http formats(#18923) 6 years ago
Elan Ruusamäe d226c560a6 Refactor code to use url_result 6 years ago
Remita Amine a94e7c195e [ted] fix extraction for http and rtmp formats(closes #5941)(closes #17572)(closes #17894) 6 years ago
Sergey M․ cd3a3ff93b
[ted] Improve extraction and update tests 6 years ago
Sergey M․ 9a984265b9
[ted] Fix extraction for videos without nativeDownloads (closes #16756, closes #17085) 6 years ago
Sergey M․ f2bb33a986
[ted] Fix subtitles extraction (closes #13628, closes #13629) 7 years ago
Sergey M․ 4917478803
[ted] Fix extraction (closes #13535)) 7 years ago
Sergey M․ ff99fe529e
Don't list master m3u8 playlists in format list (closes #12832) 8 years ago
Yen Chi Hsuan ec85ded83c
Fix "invalid escape sequences" error on Python 3.6 8 years ago
remitamine f628d800fb [ted] add support for youtube embeds and update tests 9 years ago
remitamine 11fa3d7f99 [ted] extract all http formats 9 years ago
remitamine f22ba4bd60 update tests related to the change in youtube http format sorting
the change was done in 82156fdbf0
9 years ago
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