Commit Graph

4023 Commits (37f885650c323e040a200bda9376bc7dbdf2ca25)

Author SHA1 Message Date
Philipp Hagemeister 98f000409f [radio.de] Fix extraction
Jaime Marquínez Ferrándiz bd7fe0cf66 [walla] Convert to new subtitles system
Jaime Marquínez Ferrándiz 48246541da [ceskatelevize] Convert to new subtitles system
Sergey M․ 4a8d4a53b1 [videolecturesnet] Fix rtmp stream glitches (Closes )
Jaime Marquínez Ferrándiz 4cd95bcbc3 [twitch:stream] Prefer the 'source' format (fixes )
Sergey M? 0d93378887 [videolecturesnet] Check http format URLs (Closes )
Sergey M? 4069766c52 [extractor/common] Test URLs with GET
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.
Jaime Marquínez Ferrándiz a1f2a06b34 [dailymotion] Convert to new subtitles system
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.
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
Jaime Marquínez Ferrándiz 6b597516c1 [atresplayer] Convert to new subtitles system
Jaime Marquínez Ferrándiz b5857f62e2 [crunchyroll] Convert to new subtitles system
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.
Philipp Hagemeister 59b8ab5834 [rtlnl|generic] Add support for rtl.nl embeds (Fixes )
Philipp Hagemeister 85e80f71cd [yam] Allow faults in optional fields ()
Philipp Hagemeister bfa6bdcd8b Merge remote-tracking branch 'yan12125/IE_Yam'
Philipp Hagemeister 03cd72b007 [extractor/common] Move up filesize
filesize and tbr should correlate, so it doesn't make sense to treat them differently.
Sergey M․ f813928e4b [bbccouk] Fix fallback to legacy playlist
Sergey M․ b9c7a97318 [history] Add extractor (Closes )
Sergey M․ 9fb2f1cd6d [theplatform] Add URL sign capability
Jaime Marquínez Ferrándiz 6ca7732d5e [extractor/common] Fix link to external documentation
Jaime Marquínez Ferrándiz b0ab0fac49 Remove unused imports
Naglis Jonaitis a294bce82f [streamcz] Fix extraction (Closes )
Sergey M․ 76d1466b08 [drtuber] Add one more title regex
Sergey M. 1888d3f7b3 Merge pull request from peugeot/beeg
[beeg] fix test
Sergey M. c2787701cc Merge pull request from peugeot/drtuber
[drtuber] fix extraction
peugeot 52e1d0ccc4 [beeg] fix test
peugeot 10e3c4c221 [drtuber] fix extraction
Sergey M․ 68f2d273bf [sunporno] Keep old video regex just in case
peugeot ae1580d790 [sunporno] fix extraction
Sergey M․ a4f3d779db [nbcnews] Simplify
Ryan Schmidt d9aa2b784d Support NBC Nightly News broadcasts
Sergey M․ 9347fddbfc [1tv] Cover arbitraty URLs
Sergey M․ 037e9437e4 [camdemy] Fix _VALID_URL
Jaime Marquínez Ferrándiz ae6423d704 [bambuser] Fix 'uploader_id' extraction (fixes )
Yen Chi Hsuan 7105440cec [Yam] Add new extractor
Sergey M․ 171ca612af [npo:radio] Move to extractor to common npo place and add extractor for fragments
robin c3d64fc1b3 [nporadio] Edit to confirm to flake8 standards
robin 7c24ce225d [NPORadio] Added extractor for live radio
Philipp Hagemeister 08b38d5401 [camdemy] Simplify and make more robust ()
Do not throw errors if view count or upload date extraction fails.
Dispose of re.MULTILINE, which had absolutely no effect without any ^ or $ in sight.
Follow PEP8 naming conventions.
Philipp Hagemeister 024c53694d Merge remote-tracking branch 'yan12125/IE_camdemy'
Yen Chi Hsuan 7e6011101f [camdemy] Python2 compatibility
Yen Chi Hsuan c40feaba77 [camdemy] Add support for folders
Jaime Marquínez Ferrándiz 2d30521ab9 [youtube] Extract average rating (closes )
Sergey M․ 124f3bc67d [dotsub] Fix extraction and modernize
Yen Chi Hsuan 8367d3f3cb [camdemy] Detection of external sources
Sergey M․ c56d7d899d [dctptv] Skip rtmp download
Naglis Jonaitis ea5db8469e [canalplus] Add support for itele.fr URLs (Closes )
Naglis Jonaitis 3811c567e7 [teamcoco] Fix video id extraction
Yen Chi Hsuan 8708d76425 [camdemy] Add new extractor
Single file download done, while folder extaction in plan
Sergey M․ 054fe3cc40 [ntvru] Adapt to new direct delivery and modernize (Closes )
Philipp Hagemeister 9650885be9 [escapist] Filter video differently (Fixes )
Philipp Hagemeister 596ac6e31f [escapist] Modernize
Philipp Hagemeister 8f84f57183 [ccc] Add new extractor (Fixes )
Philipp Hagemeister c0e1a415fd [firstpost] Modernize
Philipp Hagemeister bf8f082a90 [vimeo:album] Add support for album passwords (Fixes )
Philipp Hagemeister 7e5db8c930 [options] Add --no-color
Philipp Hagemeister f7a211dcc8 [pornhd] Fix extraction (fixes )
Philipp Hagemeister c73fae1e2e [commonmistakes] Detect BOMs at the beginning of URLs
Reported at https://bugzilla.redhat.com/show_bug.cgi?id=1093517 .
Philipp Hagemeister 834bf069d2 [bandcamp] Correct variable name
Philipp Hagemeister 753fad4adc [commonmistakes] Correct logic error
Philipp Hagemeister 3a5bcd0326 [extractor/common] Wrap extractor errors (Fixes )
For now, we just wrap some common errors. More may follow. We do not want to catch actual programming errors in the extractors, such as 1 // 0.
Philipp Hagemeister 99c2398bc6 [bandcamp] Use our API to get more stable error messages ()
Philipp Hagemeister 28f1272870 [svtplay] Correct test case
Philipp Hagemeister c4c5dc27cb Merge branch 'master' of github.com:rg3/youtube-dl
Naglis Jonaitis 2caf182f37 [trilulilu] Add support for videos without category in the URL (Closes )
Also, update the testcase, detect private/country restricted videos and modernize a bit.
Philipp Hagemeister 1309b396d0 [svtplay] Add new extractor (Fixes )
Jaime Marquínez Ferrándiz ba61796458 [youtube] Don't override format info from the dash manifest (fixes )
Philipp Hagemeister e98b8e79ea [generic] Improve SBS detection (Fixes )
Philipp Hagemeister 5269028951 [rtlnow] Add test for @mmue's extension ()
Philipp Hagemeister f7bc056b5a Merge remote-tracking branch 'mmue/fix-rtlnow'
Philipp Hagemeister a0f7198544 [generic] Add support for jwPlayer YouTube videos
This makes nationalarchives.gov.uk work (Fixes , fixes )
Markus Müller bdb186f3b0 fix rtlnow for newer series like "Der Bachelor" season 5
Sergey M․ 41c23b0da5 [gamekings] Support videos from news pages
Sergey M․ d87ec897e9 [gamekings] Improve extraction
Sergey M․ 3bd4bffb1c Merge branch 'gamekings' of https://github.com/robin007bond/youtube-dl into robin007bond-gamekings
robin c36b09a502 [Gamekings] Use thumbnail in return statement
Naglis Jonaitis 641eb10d34 Use _family_friendly_search for determining age_limit
robin 955c5505e7 [Gamekings] Use xpath
XPath is used for extracting the video url and the thumbnail
Naglis Jonaitis 69319969de [extractor/common] Add new helper method _family_friendly_search
Naglis Jonaitis a14292e848 [soulanime] Remove extractor ()
Was supposed to be deleted by 67c2bcd
robin 5d678df64a [Gamekings] Download playlist
Todo: URL and Thumbnail should be extracted with XPath
robin 8ca8cbe2bd [Gamekings] Check string for vimeo, fix test
The test now doesn't fail anymore. It just checks the string for having
"vimeo" in it, instead of using the method for URL-checking, since it's
returns an error.

The tests don't fail, and the extractor works fine now.
robin ba322d8209 [Gamekings] Added test and replaced video_url
Quick and dirty fix for the Gamekings extractor. It gives an error about
the video_url, but it downloads it now instead of giving a 404 error on
newer Gamekings videos
robin 2f38289b79 [Gamekings] Fix order of replacement string
Oops.
robin f23a3ca699 [Gamekings] Fixed typo in URL replacement
robin 77d2b106cc [Gamekings] Fix 404 when large isn't available
When trying to download some GameKings videos, not all worked. This was
because not all videos had a "/large"-URL available. The extractor
checks now if the /large URL is available, if it isn't, it tries to get
the normal URL.
Sergey M․ c0e46412e9 [aparat] Fix extraction (Closes )
Naglis Jonaitis ad5747bad1 [rtp] Construct regular HTTP download URLs ()
Sergey M․ d6eb66ed3c [aftenposten] Add extractor (Closes )
Sergey M․ 7f2a9f1b49 [tvigle] Add support for cloud URLs (Closes )
Philipp Hagemeister 1e1896f2de [extractor/common] Correct sort order.
We should look at height and width before ext_preference.
Naglis Jonaitis 1a2548d9e9 [rtp] Pass --realtime to rtmpdump (Fixes )
A workaround for video jumping back in time.
Sergey M․ 3900eec27c [extractor/common] Fix 2.0 manifest extraction (Closes )
Sergey M․ 9c91a8fa70 [tweakers] Switch extraction to xspf playlist, extract all formats and meta ()
Sergey M․ 41469f335e Merge branch 'tweakers' of https://github.com/robin007bond/youtube-dl into robin007bond-tweakers
robin 67ce4f8820 Use match_id method instead of splitted URL
robin bc63d56cca Remove unnecessary TODO-comments
robin c893d70805 Remove player-url in tweakers.py
Player-url only needed for rmftp, not for regular URLs
robin 3ee6e02564 Edit Tweakers extractor
Fixed code conventions (mainly adding two or more spaces before making
an inline comment)
robin e3aaace400 [tweakers] Add new extractor
Sergey M․ f13b88c616 [rts] Fix f4m and m3u8 extraction (Closes )
Sergey M․ 60ca389c64 [extractor/common] Prefix f4m/m3u8 entries with identifier
Sergey M․ 9e91449c8d [npo] Fix subtitles (Closes )
Frans de Jonge 25e5ebf382 Add NPO.nl subtitles
Implements 
Sergey M․ 58ba6c0160 [mixcloud] Fix extraction (Closes )
naglis f076b63821 [generic/ooyala] Add support for Ooyala embeds on SBN network websites (Fixes )
Philipp Hagemeister 9bb8e0a3f9 [wsj] Add new extractor (Fixes )
Philipp Hagemeister 1a6373ef39 [sort_formats] Prefer bitrate over video size
720p @ 1000KB/s looks way better than 1080p @ 500KB/s
Philipp Hagemeister d862042301 [aftonbladet] Modernize
Philipp Hagemeister 23d9ded655 [franceculture] Rewrite for new HTML scheme (Fixes )
Philipp Hagemeister c1147c05e1 [brightcove] Fix up more generically invalid XML (Fixes )
Philipp Hagemeister a465808592 Merge branch 'master' of github.com:rg3/youtube-dl
Philipp Hagemeister 5c4862bad4 [normalboots] Remove unused import
Philipp Hagemeister 995029a142 [nerdist] Add new extractor (Fixes )
Jaime Marquínez Ferrándiz a57b562cff [nfl] Add support for articles pages (fixes )
Philipp Hagemeister 531572578e [normalboots] Modernize
Philipp Hagemeister 7d3d06a16c [vevo] Restore SMIL support ()
Philipp Hagemeister f920ce295e [ntvru] Remove unused import
Philipp Hagemeister 7a7bd19c45 [n-tv.de] Use native m3u8 as best format
Philipp Hagemeister 8f4b58d70e [ntvde] Add new extractor (Fixes )
Philipp Hagemeister 3fd45e03bf [ntvru] Rename from NTV to clarify the difference between n-tv.de and ntv.ru
Sergey M․ 78271e3319 [drtv] Extract material id (Closes )
Sergey M․ 92bf0bcdf8 [historicfilms] Add extractor (Closes )
Sergey M․ c6df692466 [rutv] Extract all m3u8 formats
Philipp Hagemeister acf757f42e [youtube] Complete test definition
Philipp Hagemeister dd8982f19c [wdr] Complete test definition
Philipp Hagemeister 654bd52f58 [teletask] Fix test definition
Philipp Hagemeister a9551e9020 [soundcloud:set] Fix test definition
Philipp Hagemeister c172440ac5 [ringtv] Modernize test definition
Philipp Hagemeister e332772531 [servingsys] Modernize
Philipp Hagemeister 437cac8cc1 [sina] Modernize and simplify
Philipp Hagemeister 9f281cacd2 [keezmovies] Fix extraction and modernize test
Philipp Hagemeister 748a0fab8a Remove unused imports
Philipp Hagemeister c1f06d6307 [macgamestore] Modernize
Philipp Hagemeister c4e817ce4a [france2.fr:generation-quoi] Modernize
Philipp Hagemeister 9a3e5e6955 [kankan] Modernize
Philipp Hagemeister 228d30ed06 [la7] Modernize
Philipp Hagemeister 057c0609fc [toutv] Modernize test definition
Philipp Hagemeister 17d2712d9c [teamcoco] Modernize and fix extraction
Philipp Hagemeister fc09240e24 [vimeo] Modernize test definition
Philipp Hagemeister 146303136f [nerdcubed] Modernize test definition
Philipp Hagemeister 96aded8d3d [rottentomatoes] Modernize test definition
Philipp Hagemeister 2886be15aa [defense] Modernize
Philipp Hagemeister ca0f500ecf [mtv] Modernize and clean up test
Philipp Hagemeister 29aef5a33c [ard] Remove deleted video test case
Philipp Hagemeister 9158b2b301 [mpora] Modernize
Sergey M․ 8c72beb25e [globo] Properly extract m3u8 formats ( )
kinetoskombi 1ee94db2d0 [globo] Fix error on some globo videos