Commit Graph

6063 Commits (459e5fbd5fa61064076534c4d6d8a1d010acb1b3)

Author SHA1 Message Date
Sergey M․ d5c69f1da4 [5min] Cover joystiq.com URLs (Closes #4962) 10 years ago
Jaime Marquínez Ferrándiz f13b1e7d7f [bbccouk] Convert to new subtitles system
I haven't found any video available outside the UK, so I haven't added tests.

I have updated how the srt file is build, because (at least for www.bbc.co.uk/programmes/p02j9b69) the subtitles is inside 'span' elements.
10 years ago
Jaime Marquínez Ferrándiz 5c8a3f862a [nbc] Use a test video that works outside the US 10 years ago
Jaime Marquínez Ferrándiz 8807f1277f [theplatform] Convert to new subtitles system 10 years ago
Jaime Marquínez Ferrándiz a3b9157f49 [cbssports] Add extractor (closes #4996) 10 years ago
Philipp Hagemeister b88ba05356 [imgur] Simplify 10 years ago
Philipp Hagemeister b74d505577 Merge remote-tracking branch 'jbboehr/imgur-gifv-improvements' 10 years ago
John Boehr 9e2d7dca87 [imgur] improve error check for non-video URLs 10 years ago
John Boehr d236b37ac9 [imgur] improve regex #4998 10 years ago
Philipp Hagemeister e880c66bd8 [theonion] Modernize 10 years ago
John Boehr 1a13940c8d [imgur] support regular URL 10 years ago
Philipp Hagemeister 3d54788495 [webofstories] Fix extraction 10 years ago
Philipp Hagemeister 71d53ace2f [sockshare] Do not require thumbnail anymore
Thumbnail is not present on the website anymore.
10 years ago
Philipp Hagemeister f37e3f99f0 [generic] Correct test case
Video has been reuploaded / edited
10 years ago
Philipp Hagemeister bd03ffc16e [netzkino] Skip download in test case
Works fine from Germany, but fails from everywhere else
10 years ago
Philipp Hagemeister 1ac1af9b47 release 2015.02.19.2 10 years ago
Philipp Hagemeister 3bf5705316 [imgur] Add new extractor 10 years ago
Philipp Hagemeister 1c2528c8a3 [cbs] Modernize 10 years ago
Philipp Hagemeister 7bd15b1a03 release 2015.02.19.1 10 years ago
Philipp Hagemeister 6b961a85fd [patreon] Add support for embedlies (fixes #4969) 10 years ago
Philipp Hagemeister 7707004043 [patreon] Modernize 10 years ago
Philipp Hagemeister a025d3c5a5 release 2015.02.19 10 years ago
Philipp Hagemeister c460bdd56b [sandia] Add new extractor (#4974) 10 years ago
Philipp Hagemeister b81a359eb6 [YoutubeDL] Use render_table for format listing 10 years ago
Philipp Hagemeister d61aefb24c Merge remote-tracking branch 'origin/master' 10 years ago
Philipp Hagemeister d305dd73a3 [utils] Fix js_to_json
Previously, the runtime could be atrocious for longer inputs.
10 years ago
Jaime Marquínez Ferrándiz 93a16ba238 [vimeo] Raise the ExtractorError with expected=True when no video password is given 10 years ago
Jaime Marquínez Ferrándiz 4f7cea6c53 [viki] Convert to new subtitles system 10 years ago
Jaime Marquínez Ferrándiz afbdd3acc3 [rai] Convert to new subtitles system 10 years ago
Philipp Hagemeister 85d5866177 [yahoo] Remove md5sum from test case
The md5 sum has changed repeatedly, and we check whether it looks like a video anyways nowadays.
10 years ago
Philipp Hagemeister 9789d7535d [xtube] Fix test case 10 years ago
Philipp Hagemeister d8443cd3f7 [wsj] Correct test case 10 years ago
Philipp Hagemeister d47c26e168 [brightcove] Correct keys in playlists 10 years ago
Jaime Marquínez Ferrándiz 01561da142 [nrk] Convert to new subtitles system 10 years ago
Jaime Marquínez Ferrándiz 0af25f784b [mtv] Convert to new subtitles system 10 years ago
Jaime Marquínez Ferrándiz b9b42f2ea0 [npo] Convert to new subtitles system 10 years ago
Jaime Marquínez Ferrándiz 311c393838 [lynda] Convert to new subtitles system 10 years ago
Jaime Marquínez Ferrándiz 18c1c42405 [drtv] Convert to new subtitles system 10 years ago
Jaime Marquínez Ferrándiz 37dd5d4629 [mit] Don't set the subtitles field
YouTube already provides them in more formats
10 years ago
Philipp Hagemeister 81975f4693 release 2015.02.18.1 10 years ago
Philipp Hagemeister 3eff81fbf7 [jsinterp] Disable comment support
We need a proper lexer to be able to understand YouTube's code, which contains /* inside of strings.
For now it's sufficient to just disable comment support altogether.

Fixes #4976, fixes #4979, fixes #4980, fixes #4981, fixes #4982.
Closes #4977.
10 years ago
Philipp Hagemeister 785521bf4f [youtube] Remove useless if 10 years ago
Philipp Hagemeister 6d1a55a521 [youtube] Show entire player URL when -v is given 10 years ago
Philipp Hagemeister 9cad27008b release 2015.02.18 10 years ago
Philipp Hagemeister 11e611a7fa Extend various playlist tests 10 years ago
Philipp Hagemeister 72c1f8de06 [bandcamp:album] Fix extractor results and associated test 10 years ago
Philipp Hagemeister 6e99868e4c [buzzfeed] Fix playlist test case 10 years ago
Philipp Hagemeister 4d278fde64 [ign] Amend playlist test 10 years ago
Philipp Hagemeister 1def5f359e [livestream] Correct playlist ID and add a test for it 10 years ago
Philipp Hagemeister 15ec669374 [vk] Amend playlist test 10 years ago
Philipp Hagemeister a3fa5da496 [vimeo] Amend playlist tests 10 years ago
Philipp Hagemeister 30965ac66a [vimeo] Prevent infinite loops if video password verification fails
We're seeing this in the tests¹ right now, which do not terminate.

¹  https://travis-ci.org/jaimeMF/youtube-dl/jobs/51135858
10 years ago
Philipp Hagemeister 09ab40b7d1 Merge branch 'progress-as-hook2' 10 years ago
Jaime Marquínez Ferrándiz edab9dbf4d [YoutubeDL] use the 'render_table' function for listing the subtitles 10 years ago
Jaime Marquínez Ferrándiz 9868ea4936 [extractor/common] Simplify subtitles handling methods
Initially I was going to use a single method for handling both subtitles and automatic captions, that's why I used the 'list_subtitles' and the 'subtitles' variables.
10 years ago
Jaime Marquínez Ferrándiz 85920dd01d [bliptv] Convert to new subtitles system 10 years ago
Philipp Hagemeister fa15607773 PEP8 fixes 10 years ago
Philipp Hagemeister a91a2c1a83 [downloader] Remove various unneeded assignments and imports 10 years ago
Philipp Hagemeister 16e7711e22 [downloader/http] Remove gruesome import 10 years ago
Philipp Hagemeister 5cda4eda72 [YoutubeDL] Use a progress hook for progress reporting
Instead of every downloader calling two helper functions, let our progress report be an ordinary progress hook like everyone else's.
Closes #4875.
10 years ago
Philipp Hagemeister 98f000409f [radio.de] Fix extraction 10 years ago
Jaime Marquínez Ferrándiz bd7fe0cf66 [walla] Convert to new subtitles system 10 years ago
Jaime Marquínez Ferrándiz 48246541da [ceskatelevize] Convert to new subtitles system 10 years ago
Sergey M․ 4a8d4a53b1 [videolecturesnet] Fix rtmp stream glitches (Closes #4968) 10 years ago
Jaime Marquínez Ferrándiz 4cd95bcbc3 [twitch:stream] Prefer the 'source' format (fixes #4972) 10 years ago
Philipp Hagemeister be24c8697f release 2015.02.17.2 10 years ago
Sergey M? 0d93378887 [videolecturesnet] Check http format URLs (Closes #4968) 10 years ago
Sergey M? 4069766c52 [extractor/common] Test URLs with GET 10 years ago
Philipp Hagemeister 7010577720 release 2015.02.17.1 10 years ago
Philipp Hagemeister 8ac27a68e6 [hls] Switch to available as a property 10 years ago
Philipp Hagemeister 46312e0b46 release 2015.02.17 10 years ago
Philipp Hagemeister f9216ed6ad Merge remote-tracking branch 'origin/master' 10 years ago
Philipp Hagemeister 65bf37ef83 [ffmpeg] Remove trivial helper method 10 years ago
Philipp Hagemeister f740fae2a4 [ffmpeg] Make available a property 10 years ago
Jaime Marquínez Ferrándiz fbc503d696 [downloader/hls] Fix detection of ffmpeg/avconv (reported in #4966) 10 years ago
Jaime Marquínez Ferrándiz 662435f728 [YoutubeDL] Use a Request object for getting the cookies (fixes #4970)
So that we don't have to implement all the methods used by the cookiejar.
10 years ago
Jaime Marquínez Ferrándiz 163d966707 [downloader/external] curl: Add the '--location' flag
curl doesn't follow redirections by default
10 years ago
Philipp Hagemeister 85729c51af [downloader] Add --hls-prefer-native to use the native HLS downloader (#4966) 10 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.
10 years ago
Jaime Marquínez Ferrándiz a1f2a06b34 [dailymotion] Convert to new subtitles system 10 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.
10 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
10 years ago
Jaime Marquínez Ferrándiz 6b597516c1 [atresplayer] Convert to new subtitles system 10 years ago
Jaime Marquínez Ferrándiz b5857f62e2 [crunchyroll] Convert to new subtitles system 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
Philipp Hagemeister 1db5fbcfe3 release 2015.02.16.1 10 years ago
Philipp Hagemeister 59b8ab5834 [rtlnl|generic] Add support for rtl.nl embeds (Fixes #4959) 10 years ago
Philipp Hagemeister a568180441 release 2015.02.16 10 years ago
Philipp Hagemeister 85e80f71cd [yam] Allow faults in optional fields (#4943) 10 years ago
Philipp Hagemeister bfa6bdcd8b Merge remote-tracking branch 'yan12125/IE_Yam' 10 years ago
Philipp Hagemeister 03cd72b007 [extractor/common] Move up filesize
filesize and tbr should correlate, so it doesn't make sense to treat them differently.
10 years ago
Philipp Hagemeister 5bfd430f81 Merge remote-tracking branch 'origin/master' 10 years ago
Philipp Hagemeister 73fac4e911 [ffmpeg] Add --ffmpeg-location 10 years ago
Sergey M․ f813928e4b [bbccouk] Fix fallback to legacy playlist 10 years ago
Sergey M․ b9c7a97318 [history] Add extractor (Closes #4934) 10 years ago
Sergey M․ 9fb2f1cd6d [theplatform] Add URL sign capability 10 years ago
Jaime Marquínez Ferrándiz 6ca7732d5e [extractor/common] Fix link to external documentation 10 years ago
Jaime Marquínez Ferrándiz b0ab0fac49 Remove unused imports 10 years ago
Naglis Jonaitis a294bce82f [streamcz] Fix extraction (Closes #4940) 10 years ago
Sergey M․ 76d1466b08 [drtuber] Add one more title regex 10 years ago