Commit Graph

9650 Commits (8eacae8cf9a1226ccd9b186034b03756ca607921)

Author SHA1 Message Date
Yen Chi Hsuan 9934fe76be [acast] Remove ACastBaseIE
No longer necessary as _API_BASE_URL is used by ACastChannelIE only
Yen Chi Hsuan a8aad21001 [acast] Fix extraction
Yen Chi Hsuan 0e1b1a011d [gamekings] Stricter checks
Yen Chi Hsuan eab3c2895c [gamekings] add_ie
Yen Chi Hsuan 163da6a484 [gamekings] Add MD5 back
The test is now a YouTube video, whose MD5 should be stable
Yen Chi Hsuan 324916d11a Merge branch 'gamekings_fix' of https://github.com/rrooij/youtube-dl into rrooij-gamekings_fix
Jaime Marquínez Ferrándiz 3ccb0655c1 [youtube] Use 'orderedSet' instead of 'set' to preserve the order
Jaime Marquínez Ferrándiz e04398e397 [FFmpegSubtitlesConvertorPP] delete old subtitle files (fixes )
Yen Chi Hsuan 231ea2a3bb [xuite] Replace the test case with my uploaded one
Yen Chi Hsuan b99d88c6a1 [youporn] Fix uploader and description
Philipp Hagemeister a69bee4762 release 2016.01.31
Sergey M․ 9acd33094d [youtube] Filter duplicates in playlists base extractor
Sergey M․ 8e7aad2075 [youtube] Use authentication for entry list base extractor (Closes )
rrooij ce5879fa14 [Gamekings] Fix viewing of old videos
Some old videos that aren't on Vimeo are being uploaded to YouTube under the
'Gamekings Vault' channel. They use YouTube now for some videos as video
hosting instead of Vimeo or their own hosting. The first test failed to
succeed under the existing code, but works now by using the YouTube
extractor.

The Regex is changed to find the new gogoVideo JavaScript line with the
YouTube embed. Checking if there is a YouTube embed is done by a String
find, which is probably not the best method of checking this.
Yen Chi Hsuan 7b7507d6e1 [letv] Fix LetvCloud extraction
rrooij 14823decf3 [Gamekings] Fix url from .tv to .nl
Gamekings doesn't use the .tv top level domain anymore, but the regular
domain for Dutch sites.
Sergey M․ 673fb82e65 [schooltv] Improve video id regex
Sergey M 181cf24bc0 Merge pull request from rrooij/schooltv
[schooltv] Add extractor for SchoolTV playlists
rrooij 89f2602880 [schooltv] Add extractor for SchoolTV playlists
This closes 
Yen Chi Hsuan db9b1dbcd9 [nba] Add ext for hls formats and fix test_NBA
Yen Chi Hsuan e881c4bcab [nbc] Use NBC's id and fix _TESTS
ThePlatform URL gives the same ID for all _TESTS
Yen Chi Hsuan 670ad51ade [nrktv] Fix _TESTS
Yen Chi Hsuan eb6fc7d32a [senateisvp] Fix test_SenateISVP and test_SenateISVP_1
Yen Chi Hsuan ed1a390583 [tv2] Fix test_TV2
Yen Chi Hsuan 809e1857c5 [screenwavemedia] Fix HLS extension and test_TeamFour
Yen Chi Hsuan 7c38af48b9 [vgtv] Fix test_VGTV_2
Yen Chi Hsuan 60ad3eb970 [viidea] Skip download for the test case requiring ffmpeg
Sergey M․ a7685b3a6b [npo] Add extension for m3u8
remitamine 8f1fddc816 [limelight] fix format sorting and make m3u8 and f4m extraction non fatal
remitamine 1bf996fa5c [generic] Add support for Limelight API
Yen Chi Hsuan 248ae880b6 [facebook] Add md5 for the test case with DASH
Yen Chi Hsuan 2d2fa82d17 [common] Add _extract_dash_manifest_formats
Yen Chi Hsuan c94678957f [common] Remove unused arguments
Yen Chi Hsuan 16f38a699f [common] Rename to namespace
For consistency with _parse_smil_*
Yen Chi Hsuan a6c2c24479 [youtube] Remove '(v|a)codec': 'none' entries
Not used anymore
Sergey M․ b8c9926c0a [downloader/f4m] Do not update fragment list while test
Yen Chi Hsuan df374b5222 [common] Prefer the manifest than formats_dict in determining codecs
Yen Chi Hsuan 5ea1eb78f5 [common] Fix for youtube
Yen Chi Hsuan 5d2c0fd9ba [youtube] Pass self._formats to _parse_dash_manifest
Yen Chi Hsuan 0803753fea [facebook] Add support for DASH manifests
Sergey M․ 2c2f1efdcd [downloader/fragment] Remove superfluous whitespace
Yen Chi Hsuan b323e1707d [common] Modify _parse_dash_manifest for use in Facebook
Sergey M․ 09104e9930 [downloader/f4m] Add live stream flag to context
Now download progress for f4m livestreams is reported correctly
Sergey M․ 5fa1702ca6 [downloader/fragment] Do not report total bytes estimation and eta for live streams
Yen Chi Hsuan 17b598d30c [common] _parse_dash_manifest() from youtube.py
Sergey M․ 53be8894e4 [options] Add missing closing parenthesis
Sergey M․ c3deacd562 [matchtv] Add extractor (Closes )
Sergey M․ 8ab3fe81d8 [downloader/f4m] Prefer bootstrap url attribute over inline bootstrap info
ping 2f0a33d8a3 [daum.net] Support for playlists, user channels
Yen Chi Hsuan 05d0d131a7 [youtube] Move decrypt_sig out of _parse_dash_manifest
Yen Chi Hsuan c140629995 [facebook] Support alternative webpage form
Fixes 
Jaime Marquínez Ferrándiz 7d106a65ca Add --hls-use-mpegts option
When using the mpegts container hls vidoes can be played while being downloaded (useful if you are recording a live stream).
VLC and mpv play them file, but QuickTime doesn't.
Yen Chi Hsuan 0179f6a830 [daum] Add 'thumbnail' to all _TESTS
Yen Chi Hsuan 830afe85dc [daum.net] Support VodPlayer.swf URLs (closes )
Yen Chi Hsuan 8bf39420b4 Merge remote-tracking branch 'upstream/master'
Yen Chi Hsuan 06ffa33485 [daum.net] Move the request to ClipInfoXml.do
To reduce the number of wasted requests
Yen Chi Hsuan 874e05975b Merge branch 'daum-fix-clip' of https://github.com/ping/youtube-dl into ping-daum-fix-clip
ping f5d30d521c [daum] Fix add view_count, comment_count to test
ping e047922be0 [daum] Fix copy-paste mistake
Sergey M․ 83ab8a79cc [espn] Improve video id extraction (Closes )
Sergey M․ 350cf045d8 [extractor/common] Restrict checks when auto calculating tbr
Sergey M․ 68a0ea15b4 [cspan] Unescape path (Closes )
Jaime Marquínez Ferrándiz 2b4f5e68d1 [azubu] Add extractor for live streams (closes )
Philipp Hagemeister 055f417278 release 2016.01.29
Jaime Marquínez Ferrándiz 70029bc348 [youtube:user] Require 'https?://' in the url (fixes )
It was matching www.youtube.com/embed/WpfukLMe1TM.
The generic extractor automatically adds http:// if it's missing.
remitamine cf57433bbd [ffmpeg] fix adding metadata when using m3u8_native(fixes )
Sergey M․ 1ac6e794cb [bbc] Add test for
Sergey M․ a853427427 [bbc] Add another description regex
Sergey M․ 50e989e263 [bbc] Add another title regex (Closes )
Sergey M․ 10e6ed9341 [ok] Add support for mobile URLs (Closes )
Sergey M․ 38c84acae5 [ndr:embed:base] Add missing ext for m3u8
remitamine 2b14cb566f [utils] fix dfxp2srt text extraction(fixes )
dyn888 b0df5223be Update YoutubeDL.py
Sergey M․ ed7cd1e859 [cbsnews] Remove unused import
remitamine f125d9115b [cbsnews] extract all formats
remitamine a9d5f12fec Merge pull request from remitamine/hls-master-detect
[extractor/common] detect media playlist in _extract_m3u8_formats
remitamine 7f32e5dc35 [extractor/common] detect media playlist in _extract_m3u8_formats
Sergey M․ c3111ab34f [spankbang] Fix title extraction (Closes )
Sergey M․ 9339774af2 [spankbang] Fix formats extraction
Sergey M․ b0d21deda9 [extractor/common] Auto calculate tbr when missing
Philipp Hagemeister fab6f0e65b release 2016.01.27
ping b6c33fd544 [daum.net] Fixes
Sergey M․ fb4b345800 [instagram] Make description optional (Closes )
Sergey M․ af9c2a07ae [cspan] Extract from path when no qualities (Closes )
remitamine ab180fc648 Merge branch 'master' of github.com:rg3/youtube-dl
remitamine 682f8c43b5 [vevo] fallback to youtube video only if vevo video is geo restricted(fixes 8263)(fixes 2874)
Sergey M․ f693213567 [cspan] Fix clip/prog id extraction ()
remitamine 9165d6bab9 [vevo] extract metadata and formats from api if videoinfo is empty
these was fixed by @yan12125 in ff51983e15
i only added some code to extract video metadata and more formats from
api
remitamine 2975fe1a7b [vevo] extract all formats and bypass geo restriction
Sergey M․ de691a498d [facebook:post] Add extractor (Closes )
Sergey M․ 2e6e742c3c [facebook] Add shortcut and reformat _VALID_URL
Yen Chi Hsuan e9bd0f772b Merge pull request from dyn888/master
[youtube] added vcodec/acodec/abr for multiple itags
Yen Chi Hsuan 77f785076f [common] Keep full codec name from m3u8 manifests
See . This is for consistency between YouTube and HLS formats.
Yen Chi Hsuan 94278f7202 [youtube] Prefer info from YouTube than _formats ()
Yen Chi Hsuan a0d8d704df [utils] Reorder items in mimetype2ext alphabetically
Yen Chi Hsuan f6861ec96f [utils] Add more items to mimetype2ext ()
These are used in Youtube formats
Philipp Hagemeister f733b05302 release 2016.01.23
Sergey M․ 6fa73386cb [drtv] Use IETF language tag
Sergey M․ 5ca01bb9e4 [kanalplay] Use IETF language tag
Sergey M․ 1ca59daca9 [options] Clarify language tags
Sergey M․ 594c4d79a5 [svt] Improve subtitles extraction and add test (Closes )
Marian Sigler 1f16b958b1 [SVTPlay] Add subtitle support
Sergey M․ 4c0d13df9b [lovehomeporn] Add extractor
Sergey M․ b2c6528baf [ruleporn] Rework in terms of nuevo (Closes )
Sergey M․ ea17820432 [nuevo] Improve thumbnail extraction
Dankryn 1257b049bc [ruleporn] Add new extractor
Sergey M․ 10677ece81 [nuevo] Simplify nuevo extractors (Closes )
Andrew "Akari" Alexeyew d570746e45 [nuevo] Generalize nuevo extractor and add support for trollvids
Supports only the nuevo player for now (most common).

[trollvids] convert duration to an int

[trollvids] added a test

[trollvids] made flake8 shut up

Generalized the Nuevo extractor

Affects: anitube, trollvids, trutube

[nuevo] Complied with the code comments.
Sergey M․ 4fcd9d147d [arte:cinema] Add extractor
Sergey M․ 9c54ae3387 [arte:future] Make duplicated test matching only
François Charlier 24114fee74 [arte:future] Fix extraction
[arte] Add support for more "Arte Future" uri
Sergey M․ 220ee33f2b [cbsnews] Simplify subtitles extraction and fix test (Closes )
John Assael 4118cc02c1 [cbsnews] Extract subtitles
added test function for CBS News subtitles
Jaime Marquínez Ferrándiz 32d77eeb04 [downloader/common] report_retry: Don't crash when retries is infinite (fixes )
Filippo Valsorda 4d318be195 [update] fix (unexploitable) BB'06 vulnerability in rsa_verify
The rsa_verify code was vulnerable to a BB'06 attack, allowing to forge
signatures for arbitrary messages if and only if the public key exponent is
3.  Since the updates key is hardcoded to 65537, there is no risk for
youtube-dl, but I don't want vulnerable code in the wild.

The new function adopts a way safer approach of encoding-and-comparing to
replace the dangerous parsing code.
Yen Chi Hsuan 6b45f9aba2 [iqiyi] Update key (closes )
Sergey M․ 1e10d02fec [hitbox] Skip subscribe only formats (Closes )
Sergey M․ 51290d8457 [youtube] Simplify automatic captions URL check (Closes )
Dimitre Liotev 582f4f834e Fix issue (error when downloading automatic captions)
Sergey M․ e87d98b0dd [yahoo] Add improve content id regexes (Closes )
igv 383496e65e Additional regex for yahoo extractor
Jaime Marquínez Ferrándiz 4519c1f43c [vimeo] 'ext' must be a string, not a tuple (fixes )
There was an ',' at the end of the line.
Sergey M․ a616f65471 [tube8] PEP 8
CeruleanSky 1f78ed189a [OraTV] update extractor
"current" is now "video"
"hls_stream" is now hls_stream without quotes
video_id is now id
duration for current video is not present(for other videos it is)

modified regex to find hls_stream variable to work reguardless of whether it is quoted or not.

[ora] Improve (Closes )
Sergey M․ 7dde358adc [tube8] Extract duration and modernize
Sergey M․ 27b83249c9 [tube8] Fix extraction and extract all formats (Closes )
Jaime Marquínez Ferrándiz 9d90e7de03 [downloader/hls] Ask ffmpeg to quit when interrupting youtube-dl with 'Ctrl+C' ()
Otherwise the mp4 file can't be played.
Yen Chi Hsuan fe6856b059 [neteasemusic] Use float_or_none
Yen Chi Hsuan a54fbf2ca6 Merge branch 'patch-8239' of https://github.com/ping/youtube-dl into ping-patch-8239
Yen Chi Hsuan d8024aebe5 Merge branch 'FounderSG-Weiqitv'
Yen Chi Hsuan 8652bd22f1 [weiqitv] Use single quotes
Yen Chi Hsuan f15a9ca301 [weiqitv] Rename the extractor - capitilize 'TV'
Yen Chi Hsuan 65ced034b8 [weiqitv] Make codes shorter
Yen Chi Hsuan bec30224ff [letv] LetvCloud: Detect ext instead of the hardcoded one
Yen Chi Hsuan 0428106da3 [letv] LetvCloud: make title looks like a title
Yen Chi Hsuan 73e7442456 [letv] LetvCloud: simplify and improve _VALID_URL
Yen Chi Hsuan 26de1bba83 [letv] LetvCloud: check error messages from server
Yen Chi Hsuan e0690782b8 [letv] LetvCloud: guard against invalid URLs
Yen Chi Hsuan 8fff4f61e5 [letv] Use single quotes
Yen Chi Hsuan 10defdd06a [letv] Reduce duplicated codes
Sergey M․ 485139c15c [viewster] Tolerate missing synopsis (Closes )
Sergey M․ b605ebb609 [lemonde] Add extractor
Sergey M․ aecfcd4e59 [ultimedia] Rename to digiteka
Sergey M․ 942d46196f [ultimedia] Extend _VALID_URL to support digiteka
Yen Chi Hsuan 78be2eca7c Merge branch 'Weiqitv' of https://github.com/FounderSG/youtube-dl into FounderSG-Weiqitv
Sergey M․ 1fa2b9841d [extractor/generic] Extend dailymotion embed regex
Sergey M․ 9fbd0822aa [dailymotion] Extend _VALID_URL
Sergey M․ e323cf3ff3 [youtube] Skip test
Sergey M․ 8ceabd4df3 [youtube] Capture and output unavailable message
Sergey M․ a8776b107b [youtube] Clarify test_Youtube_18
Sergey M․ 096b533982 [youtube] Fix URL expansion in video description
Fixes test_Youtube_18
Sergey M․ dae503afaa [atresplayer] Skip HLS completely (Closes )
Jakub Wilk e5a66240c0 [ustream] Use HTTPS for GitHub URL
ping e0ef13ddeb [neteasemusic] Fallback to alt hosts if m5.music.126.net doesn't work
Sergey M․ 855f90fa6f [ae] Rename to aenetworks and clarify extractor name and description
Yen Chi Hsuan 614db89ae3 [compat] Clarify the versions requiring compat_kwargs
It's supported since 2.7.0 alpha 1 and 2.6.5 rc 1. See
https://hg.python.org/cpython/file/v2.7a1/Misc/NEWS#l337
https://hg.python.org/cpython/file/v2.6.5rc1/Misc/NEWS#l28
Yen Chi Hsuan 1358b94163 [ae] Fix _TESTS
Yen Chi Hsuan 350e02d40d [bbc] Use _search_json_ld
Yen Chi Hsuan 0b26ba3fc8 [extractor/common] Allow passing more parameters to _search_json_ld
ping 3a0a78731b Fixes
Sergey M․ b555942428 [YoutubeDL] Ensure protocol is always present
Yen Chi Hsuan 10d33b3473 [YoutubeDL] Introduce CSS3 like string operators
Sergey M ac25992bc7 Merge pull request from dstftw/initial-json-ld-metadata-support
Initial JSON-LD metadata extraction support
Sergey M 30783c442d Merge pull request from dstftw/auto-generate-title-fields
[YoutubeDL] Auto generate title fields corresponding to the *_number fields
Sergey M․ a50a8003a0 [cultureunplugged] Improve (Closes )
Sergey M․ 315bdae00a [zippcast] Improve (Closes )
ckuu 2ddfd26f1b '[ZippCast] Add new extractor'
Closes 
Philipp Hagemeister f3ed5df611 release 2016.01.15
Sergey M․ b4e44234bc [ae] Use JSON-LD for TV series metadata
Sergey M․ 4ca2a3cf3c [extractor/common] Add initial support for JSON-LD metadata extraction into info_dict
Sergey M․ 33d2fc2f64 [YoutubeDL] Auto generate title fields corresponding to the *_number fields
Auto generate title fields corresponding to the *_number fields when missing in order to always have clean titles. This is very common for TV series.
remitamine 27a95f51aa [cwtv] Add new extractor
Sergey M․ a78d6a9bb1 [ae] Improve _VALID_URL
Sergey M․ 567f9a5809 [ae] Add extractor import
Sergey M․ 3a421c724f [history] Remove import (Closes )
Sergey M․ 34dd81c03a [xtube:user] Fix extraction (Closes )
Sergey M․ b3f502cdb9 [xtube] Add shortcut
remitamine 587dfd44a4 [ae] Add support for fyi.tv, aetv.com and mylifetime.com(closes )
remitamine 52767c1ba0 [history] add support for episode pages(fixes )
remitamine 014b5c59d8 [theplatform] extend _VALID_URL regex
remitamine fad7a336a1 Revert "[history] fix signature and media url extraction(fixes )"
This reverts commit ffbc0baf72.
remitamine ffbc0baf72 [history] fix signature and media url extraction(fixes )
Sergey M 345f12196c Merge pull request from jaimeMF/disable-file-handler
[YoutubeDL] urlopen: disable the 'file:' protocol ()
Sergey M․ 4e2743abd9 [canvas] Improve (Closes )
Tom Gijselinck be2d40a58a [Canvas] Add new extractor
Sergey M․ 81549898c0 [prosiebensat1] Fix some extraction and update tests
Lucas 0baedd1851 [prosiebensat1] add support for 7tv.de
Sergey M․ 6b559c2fbc [ntvde] Improve regex
Sergey M․ 986986064e [orf:fm4] Add test
Sergey M․ 4654c1d016 [orf:fm4] Extend _VALID_URL (Closes )
Sergey M․ 163e8369b0 [ntvde] Fix extraction
Sergey M․ 5cc9c5dfa8 [unistra] Fix extraction
Sergey M․ fbd90643cb [vodlocker] Fix extraction (Closes )
Jaime Marquínez Ferrándiz 30e2f2d76f [YoutubeDL] use a more correct terminology in the error message for file:// URLs
Philipp Hagemeister 11c60089a8 release 2016.01.14
Sergey M․ abb893e6e4 [beeg] Update API URL
Sergey M․ 4511c1976d [beeg] Fix extraction (Closes )
Jaime Marquínez Ferrándiz 4240d50496 [YoutubeDL] improve error message for file:/// URLs
Jaime Marquínez Ferrándiz 6240b0a278 [YoutubeDL] urlopen: use build_opener again
Otherwise we would need to manually add handlers like HTTPRedirectHandler, instead we add a customized FileHandler instance that raises an error.
Jaime Marquínez Ferrándiz e37afbe0b8 [YoutubeDL] urlopen: disable the 'file:' protocol ()
If someone is running youtube-dl on a server to deliver files, the user could input 'file:///some/important/file' and youtube-dl would save that file as a video giving access to sensitive information to the user.
'file:' urls can be filtered, but the user can use an URL to a crafted m3u8 manifest like:

    #EXTM3U
    #EXT-X-MEDIA-SEQUENCE:0
    #EXTINF:10.0
    file:///etc/passwd
    #EXT-X-ENDLIST

With this patch 'file:' URLs raise URLError like for unknown protocols.