Yen Chi Hsuan
aed473ccf9
[youku] PEP8
2015-06-15 22:41:24 +08:00
Yen Chi Hsuan
8268e94cd4
Merge branch 'youku' of https://github.com/PeterDing/youtube-dl into PeterDing-youku
2015-06-15 22:36:44 +08:00
Yen Chi Hsuan
4af98ecdfb
[vbox7] Fix extraction ( fixes #5967 )
2015-06-15 18:49:27 +08:00
Yen Chi Hsuan
7ebd5376fe
[nfl] Relax _VALID_URL ( fixes #5940 )
2015-06-10 14:17:03 +08:00
Yen Chi Hsuan
e1b9322b09
[youtube] Restricter DASH signature pattern
...
A problematic DASH url is:
https://manifest.googlevideo.com/api/manifest/dash/mm/35/key/yt5/ip/140.112.247.145/ms/pm/mv/s/mt/1433794435/id/o-AD2Od_dsOlAUYPu03ZsVWKSbGEbCJJrMp9vnXGhnyRhd/mn/sn-aigllm7r/sparams/as%2Chfr%2Cid%2Cip%2Cipbits%2Citag%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cplayback_host%2Crequiressl%2Csource%2Cexpire/fexp/9406009%2C9406821%2C9407575%2C9408142%2C9408420%2C9408710%2C9409121%2C9409208%2C9412514%2C9412780%2C9413208%2C9413426%2C9413476%2C9413503%2C9415304%2C9415753/upn/viDQrs8SnmE/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm_sd_hd_clear%2Cwebm2_sd_hd_clear/playback_host/r4---sn-aigllm7r.googlevideo.com/ipbits/0/requiressl/yes/pl/20/itag/0/source/youtube/expire/1433824806/nh/EAQ/signature/81ABE6391E351BA495F5B041B00FF1257A353318.1A6E48ABB74E8F4AE73CA2CB1F963FC34E33DEE7/sver/3/hfr/1
2015-06-09 14:48:18 +08:00
Yen Chi Hsuan
627b964825
[kickstarted] Extract thumbnails in embedded videos ( #5929 )
2015-06-09 11:54:13 +08:00
Yen Chi Hsuan
01e21b89ee
[noco] Skip invalid timestamps ( closes #5826 )
2015-06-08 17:39:55 +08:00
Yen Chi Hsuan
788be3313d
[cnet] Fix theplatform vid extraction ( fixes #5924 )
2015-06-08 13:34:23 +08:00
Yen Chi Hsuan
e1ec93304d
[instagram:user] Truncate title to 80 characters ( #5919 )
...
This is a workaround. Currently YoutubeDL.process_info() truncates
info_dict['title'] to 200 characters, but the implementation can't
handle wide characters.
2015-06-08 01:46:33 +08:00
Yen Chi Hsuan
edb99d4c18
[instagram] Handling null values ( fixes #5919 )
...
I didn't add the test case here because it takes too much time. (7
minutes on my machine)
2015-06-08 01:17:21 +08:00
Yen Chi Hsuan
68477c3dab
[tlc] Fix test failure due to DiscoveryIE changes
2015-06-07 16:38:39 +08:00
Yen Chi Hsuan
65ba8b23f4
[discovery] Rewrite DiscoveryIE ( fixes #5898 )
...
Discovery.com now uses a completely different approach for serving
videos. At least in both test cases brightcove are involved. However,
AMF support is necessary for these brightcove videos. As a result, I
try to extract videos from the info page ('?flat=1'). The downloaded
file can be different from the one in browsers.
2015-06-07 16:34:19 +08:00
Yen Chi Hsuan
621ed9f5f4
[common] Add note and errnote field for _extract_m3u8_formats
2015-06-07 16:33:22 +08:00
Yen Chi Hsuan
b26733ba7f
[brightcove] Allow single quotes in Brightcove URLs ( fixes #5901 )
2015-06-07 15:29:42 +08:00
Yen Chi Hsuan
c23d5ce926
Merge branch 'PeterDing-iqiyi'
2015-06-07 02:59:27 +08:00
Yen Chi Hsuan
b5a3c7f109
[iqiyi] Cache encryption keys
2015-06-07 02:47:36 +08:00
Yen Chi Hsuan
9c5f685ef1
[iqiyi] Improve regex pattern again
2015-06-07 02:39:03 +08:00
Yen Chi Hsuan
08bb8ef201
[iqiyi] Unify get_format() and get_bid()
2015-06-07 02:25:00 +08:00
Yen Chi Hsuan
865ab62f43
[iqiyi] Make _VALID_URL more accurate
...
v_* urls are individual videos, while a_* urls are playlists, which are
not supported yet.
2015-06-07 02:13:22 +08:00
Yen Chi Hsuan
9948113590
[iqiyi] Add a multipart test case
2015-06-07 02:09:33 +08:00
Yen Chi Hsuan
c4ee87022b
[iqiyi] Change id for multipart videos
2015-06-07 01:57:05 +08:00
Yen Chi Hsuan
ffba4edb06
[iqiyi] Improve some variable names and add download notes
2015-06-07 01:52:51 +08:00
Yen Chi Hsuan
958d0b659b
[iqiyi] Reorder imports
2015-06-07 01:35:09 +08:00
Yen Chi Hsuan
aacda28b28
[iqiyi] Give error message for assertion failures
2015-06-07 01:32:03 +08:00
Yen Chi Hsuan
29e7e0781b
[iqiyi] Simplify and improve regex patterns
...
See the comments in #5849
2015-06-07 00:56:08 +08:00
Yen Chi Hsuan
7012620e2b
[iqiyi] Remove format selection codes
2015-06-07 00:44:54 +08:00
Yen Chi Hsuan
f1da861018
[iqiyi] PEP8
2015-06-07 00:37:29 +08:00
Yen Chi Hsuan
63ccf6474d
Merge branch 'ping-qqmusic-more-formats'
2015-06-05 23:19:54 +08:00
Yen Chi Hsuan
e8ac61e840
[qqmusic] Use meaningful variable names
2015-06-05 23:19:25 +08:00
Yen Chi Hsuan
f00a650705
[qqmusic] Rearrange codes
2015-06-05 23:16:34 +08:00
Yen Chi Hsuan
4bde5ce992
Merge branch 'qqmusic-more-formats' of https://github.com/ping/youtube-dl into ping-qqmusic-more-formats
2015-06-05 23:14:44 +08:00
Yen Chi Hsuan
d31573fa37
[teamcoco] Handle incomplete m3u8 URLs ( fixes #5798 )
...
There are 2 TODOs. I don't know how to handle these cases correctly.
2015-06-05 22:59:04 +08:00
Yen Chi Hsuan
9d4f213f90
[qqmusic:toplist] List name and description are optional
2015-06-05 00:52:18 +08:00
Yen Chi Hsuan
168db222c6
Merge pull request #5891 from ping/qqmusic-toplist-fix
...
[qqmusic] Fix toplist extraction
2015-06-05 00:50:59 +08:00
Yen Chi Hsuan
9bac8c57e3
Merge branch 'iqiyi' of https://github.com/PeterDing/youtube-dl into PeterDing-iqiyi
2015-06-03 23:59:52 +08:00
Yen Chi Hsuan
8f94784124
[tumblr] Detect vid.me embeds ( fixes #5883 )
2015-06-03 10:26:39 +08:00
Yen Chi Hsuan
23dd1fc74c
[vidme] Always use the non-embedded page
...
For example, https://vid.me/Wmur contains more information than
https://vid.me/e/Wmur
2015-06-03 10:24:02 +08:00
Yen Chi Hsuan
4053ee9104
Credit @PeterDing for 91porn extractor ( #5830 )
2015-06-01 14:44:10 +08:00
Yen Chi Hsuan
db1e9ee771
Merge branch 'PeterDing-porn91'
2015-05-31 00:33:30 +08:00
Yen Chi Hsuan
a2d971309b
[porn91] Use single quotes
2015-05-31 00:31:18 +08:00
Yen Chi Hsuan
d05a1dbe70
[porn91] Catch daily limit error
2015-05-31 00:26:12 +08:00
Yen Chi Hsuan
a80601f8d9
[porn91] Extract more info
2015-05-31 00:20:37 +08:00
Yen Chi Hsuan
1c22238756
[porn91] Simplify
2015-05-31 00:03:19 +08:00
Yen Chi Hsuan
9ff811c5cd
[porn91] PEP8
2015-05-30 23:35:55 +08:00
Yen Chi Hsuan
1ebc05df91
Merge branch 'porn91' of https://github.com/PeterDing/youtube-dl into PeterDing-porn91
2015-05-30 23:33:10 +08:00
Yen Chi Hsuan
fafec39d41
[spiegeltv] Changed RTMP server ( fixes #5788 and fixes #5843 )
...
Thanks to @brickleroux for finding out the problem
2015-05-30 13:23:09 +08:00
Yen Chi Hsuan
84e1e036c2
[senate] Extend _VALID_URL ( fixes #5836 )
2015-05-29 12:44:31 +08:00
Yen Chi Hsuan
f0bfaa2d7d
[nrk] Update subtitles test
...
Subtitle conversion routine is removed, so the subtitles are TTML now. See
1c7e2e64f6
2015-05-27 15:23:34 +08:00
Yen Chi Hsuan
f9f3e3df9a
[teamcoco] Use determine_ext to determine the video type
...
Some videos does not contain a 'type' field (#5798 )
2015-05-27 14:51:18 +08:00
Yen Chi Hsuan
f8d5e1cfb5
[naver] Fix video url ( fixes #5809 )
...
RTMP urls in test:naver does not work. Need more investigation.
2015-05-27 14:44:08 +08:00
Yen Chi Hsuan
c23848b3c5
[naver] Enhanced error detection
2015-05-27 14:20:29 +08:00
Yen Chi Hsuan
6d00a2dcd1
[bilibili] Catch API call failures
...
JSON are returned in a failed API call
2015-05-27 04:23:21 +08:00
Yen Chi Hsuan
b535170b21
[bilibili] Skip assertion if HQ videos not available
2015-05-27 04:14:24 +08:00
Yen Chi Hsuan
efec4358b9
[cinemassacre] Support an alternative form of screenwavemedia URL
...
fixes #5821
2015-05-26 13:54:41 +08:00
Yen Chi Hsuan
db3ca36403
[facebook] Move the title extraction warning below ( fixes #5820 )
2015-05-26 13:41:38 +08:00
Yen Chi Hsuan
42833b44b5
[tf1] Extend _VALID_URL ( fixes #5819 )
2015-05-26 13:32:43 +08:00
Yen Chi Hsuan
30455ce255
[nextmedia] Extend and reorder _VALID_URL
2015-05-24 02:42:01 +08:00
Yen Chi Hsuan
9bf87ae3aa
[nextmedia] Merge AppleDailyRealtimeNewsIE and AppleDailyAnimationNewsIE
2015-05-24 02:36:47 +08:00
Yen Chi Hsuan
abca34cbc0
[cnn] Relax _VALID_URL again ( fixes #5737 )
...
The problem is the same as test:CNN_1, so I didn't add the test case
2015-05-24 02:04:02 +08:00
Yen Chi Hsuan
8a278a1d7e
[nba] Fix duration extraction ( fixes #5777 )
2015-05-22 13:30:39 +08:00
Yen Chi Hsuan
051df9ad99
[letv/sohu] Skip tests relying on external proxies
...
The proxy is currently broken. See #5655 and zhuzhuor/Unblock-Youku#427
2015-05-20 14:08:23 +08:00
Yen Chi Hsuan
b813d8caf1
[qqmusic] Unescape '\\n' in description ( #5705 )
2015-05-19 01:01:42 +08:00
Yen Chi Hsuan
ecee572411
[yahoo] Add support for closed captions ( closes #5714 )
2015-05-19 00:50:24 +08:00
Yen Chi Hsuan
1b0427e6c4
[utils] Support TTML without default namespace
...
In a strict sense such TTML is invalid, but Yahoo uses it.
2015-05-19 00:45:01 +08:00
Yen Chi Hsuan
12675275a1
[teamcoco] Detect expired videos ( #5626 )
2015-05-15 02:28:41 +08:00
Yen Chi Hsuan
3a105f7b20
[teamcoco] Rewrite preload data extraction
...
Idea: "puncture" some consecutive fragments and check whether the
b64decode result of a punctured string is a valid JSON or not.
It's a O(N^3) algorithm, but should be fast for a small N (less than 30
fragments in all test cases)
2015-05-15 02:28:40 +08:00
Yen Chi Hsuan
7ec676bb3d
[qqmusic] Add IE_NAME for all extractors
2015-05-14 23:32:36 +08:00
Yen Chi Hsuan
29ea57283e
[qqmusic] Refactoring QQMusicToplistIE
2015-05-14 23:28:42 +08:00
Yen Chi Hsuan
5488973961
[qqmusic] flake8
2015-05-14 23:25:43 +08:00
Yen Chi Hsuan
96d45a5489
Merge pull request #5680 from ping/qqmusic-toplist-ie
...
[qqmusic] Add support for charts / top lists
2015-05-14 23:23:32 +08:00
Yen Chi Hsuan
fa6a16996e
[worldstarhiphop] Support Android URLs ( fixes #5629 )
2015-05-14 18:00:57 +08:00
Yen Chi Hsuan
88f9d8748c
Merge remote-tracking branch 'upstream/master'
2015-05-14 17:07:02 +08:00
Yen Chi Hsuan
c827d4cfdb
[xattr] Enhanced error messages on Windows
2015-05-14 16:53:10 +08:00
Yen Chi Hsuan
fbff30d2db
[xattr] Catch 'Argument list too long'
2015-05-14 14:51:00 +08:00
Yen Chi Hsuan
86c7fdb17c
[xattr] Enhance error handling to catch ENOSPC
...
Fixes #5589
2015-05-14 14:28:41 +08:00
Yen Chi Hsuan
62bd6589c7
Merge pull request #5692 from yan12125/fix-embedthumbnailpp
...
Use thumbnails downloaded by YoutubeDL in EmbedThumbnailPP
2015-05-14 12:35:58 +08:00
Yen Chi Hsuan
2cc6d13547
[postprocessor/embedthumbnail] Encode arguments in calling AtomicParsley
2015-05-14 04:41:30 +08:00
Yen Chi Hsuan
bb8ca1d112
[postprocessor/embedthumbnail] Use run_ffmpeg_multiple_files
2015-05-14 02:35:28 +08:00
Yen Chi Hsuan
8e59539752
[postprocessor/embedthumbnail] Use thumbnails downloaded by YoutubeDL
2015-05-14 02:32:00 +08:00
Yen Chi Hsuan
3749e36e9f
[YoutubeDL] Fix PEP8 W503
2015-05-13 21:16:45 +08:00
Yen Chi Hsuan
c1c924abfe
[utils,common] Merge format_srt_time and _subtitles_timecode
...
format_srt_time uses a comma as the delimiter between seconds and
milliseconds while _subtitles_timecode uses a dot. All .srt examples I
found on the Internet uses a comma, so I use a comma in the merged
version. See http://matroska.org/technical/specs/subtitles/srt.html and
http://devel.aegisub.org/wiki/SubtitleFormats/SRT
2015-05-12 13:04:54 +08:00
Yen Chi Hsuan
1c7e2e64f6
[nrk] Remove TTML to srt conversion codes
...
A common routine is implemented in utils.py and can be used via
--convert-subtitles.
2015-05-12 12:55:14 +08:00
Yen Chi Hsuan
7dff03636a
[utils] Support 'dur' field in TTML
2015-05-12 12:47:37 +08:00
Yen Chi Hsuan
5332fd91bf
[nytimes] Correct _VALID_URL of NYTimesArticleIE
2015-05-12 12:42:13 +08:00
Yen Chi Hsuan
e41f450f28
[tmz] Add support for articles ( fixes #5477 )
2015-05-11 20:06:10 +08:00
Yen Chi Hsuan
63cbd19f50
[ndr] Replace the 404 test case
2015-05-10 18:30:26 +08:00
Yen Chi Hsuan
1934f3a0ea
[ndr] Extended to support n-joy.de as well ( closes #4527 )
...
According to http://en.wikipedia.org/wiki/N-Joy , n-joy.de is a service
hosted by NDR, so I put them together.
2015-05-10 18:22:07 +08:00
Yen Chi Hsuan
d39e0f05db
[utils] Remove sanitize_url_path_consecutive_slashes()
...
This function is used only in SohuIE, which is updated to use a new
extraction logic.
2015-05-09 17:37:39 +08:00
Yen Chi Hsuan
6d14d08e06
[yam] Fix title and uploader id
2015-05-09 17:36:07 +08:00
Yen Chi Hsuan
32060c6d6b
[sohu] Update extractor
...
The original extraction logic always fails for all test videos
2015-05-09 14:02:11 +08:00
Yen Chi Hsuan
3dbec410a0
[sohu] Enhance error handling
2015-05-09 14:02:11 +08:00
Yen Chi Hsuan
7ef00afe9d
[nhl] Support RTMP videos ( fixes #4481 )
2015-05-08 03:11:25 +08:00
Yen Chi Hsuan
156fc83a55
[downloader/rtmp] Fix a typo
2015-05-08 03:11:24 +08:00
Yen Chi Hsuan
09b412dafa
[nhl] Partial support for hlg id ( fixes #4285 )
2015-05-08 02:14:28 +08:00
Yen Chi Hsuan
553e412bda
Merge branch 'master' of github.com:rg3/youtube-dl
2015-05-07 22:24:49 +08:00
Yen Chi Hsuan
aafe273990
[ooyala] Use SAS API to extract info ( fixes #4336 )
2015-05-07 22:07:32 +08:00
Yen Chi Hsuan
84bf31aaf8
[ooyala] Extract m3u8 information ( #2292 )
2015-05-07 18:12:01 +08:00
Yen Chi Hsuan
05d5392cda
[common] Ignore subtitles in m3u8
2015-05-07 18:06:22 +08:00
Yen Chi Hsuan
d9a743d917
[vice] Remove a redundant print
2015-05-07 18:05:37 +08:00
Yen Chi Hsuan
ac6c358c2a
[teamcoco] Fix extracting preload data again
2015-05-07 12:58:00 +08:00