Yen Chi Hsuan
2d2fa82d17
[common] Add _extract_dash_manifest_formats
2016-01-30 22:52:23 +08:00
Yen Chi Hsuan
c94678957f
[common] Remove unused arguments
2016-01-30 22:45:16 +08:00
Yen Chi Hsuan
16f38a699f
[common] Rename to namespace
...
For consistency with _parse_smil_*
2016-01-30 22:40:56 +08:00
Yen Chi Hsuan
a6c2c24479
[youtube] Remove '(v|a)codec': 'none' entries
...
Not used anymore
2016-01-30 22:28:53 +08:00
Yen Chi Hsuan
df374b5222
[common] Prefer the manifest than formats_dict in determining codecs
2016-01-30 21:42:27 +08:00
Yen Chi Hsuan
5ea1eb78f5
[common] Fix for youtube
2016-01-30 21:36:01 +08:00
Yen Chi Hsuan
5d2c0fd9ba
[youtube] Pass self._formats to _parse_dash_manifest
2016-01-30 21:32:15 +08:00
Yen Chi Hsuan
0803753fea
[facebook] Add support for DASH manifests
2016-01-30 21:31:53 +08:00
Yen Chi Hsuan
b323e1707d
[common] Modify _parse_dash_manifest for use in Facebook
2016-01-30 21:27:43 +08:00
Yen Chi Hsuan
17b598d30c
[common] _parse_dash_manifest() from youtube.py
2016-01-30 21:05:55 +08:00
Yen Chi Hsuan
05d0d131a7
[youtube] Move decrypt_sig out of _parse_dash_manifest
2016-01-30 20:05:56 +08:00
Yen Chi Hsuan
c140629995
[facebook] Support alternative webpage form
...
Fixes #8371
2016-01-30 19:33:22 +08:00
Yen Chi Hsuan
0179f6a830
[daum] Add 'thumbnail' to all _TESTS
2016-01-30 16:54:14 +08:00
Yen Chi Hsuan
830afe85dc
[daum.net] Support VodPlayer.swf URLs ( closes #8173 )
2016-01-30 16:50:13 +08:00
Yen Chi Hsuan
8bf39420b4
Merge remote-tracking branch 'upstream/master'
2016-01-30 16:25:55 +08:00
Yen Chi Hsuan
71d08b3e29
Merge branch 'ping-daum-fix-clip'
2016-01-30 16:25:06 +08:00
Yen Chi Hsuan
06ffa33485
[daum.net] Move the request to ClipInfoXml.do
...
To reduce the number of wasted requests
2016-01-30 16:23:37 +08:00
Yen Chi Hsuan
874e05975b
Merge branch 'daum-fix-clip' of https://github.com/ping/youtube-dl into ping-daum-fix-clip
2016-01-30 16:22:37 +08:00
Yen Chi Hsuan
29f46c2bee
Credit @dyn888 for improving format selection
...
[ci skip]
2016-01-28 22:56:59 +08:00
Yen Chi Hsuan
39c10a2b6e
Merge pull request #8346 from dyn888/dyn888-regex-1
...
Regex pattern update to match more codecs (fixes #6858 )
2016-01-28 22:22:43 +08:00
Yen Chi Hsuan
e9bd0f772b
Merge pull request #8130 from dyn888/master
...
[youtube] added vcodec/acodec/abr for multiple itags
2016-01-25 01:15:11 +08:00
Yen Chi Hsuan
77f785076f
[common] Keep full codec name from m3u8 manifests
...
See #8293 . This is for consistency between YouTube and HLS formats.
2016-01-25 01:03:46 +08:00
Yen Chi Hsuan
94278f7202
[youtube] Prefer info from YouTube than _formats ( #8293 )
2016-01-25 01:02:19 +08:00
Yen Chi Hsuan
a0d8d704df
[utils] Reorder items in mimetype2ext alphabetically
2016-01-25 01:01:15 +08:00
Yen Chi Hsuan
f6861ec96f
[utils] Add more items to mimetype2ext ( #8293 )
...
These are used in Youtube formats
2016-01-25 00:58:53 +08:00
Yen Chi Hsuan
6b45f9aba2
[iqiyi] Update key ( closes #8292 )
2016-01-22 02:14:47 +08:00
Yen Chi Hsuan
56aa074538
Credit @FounderSG for WeiqiTV and LetvCloud ( #7994 )
...
[ci skip]
2016-01-20 13:20:03 +08:00
Yen Chi Hsuan
7d4d9c526a
Merge branch 'ping-patch-8239'
2016-01-20 04:22:25 +08:00
Yen Chi Hsuan
fe6856b059
[neteasemusic] Use float_or_none
2016-01-20 04:21:51 +08:00
Yen Chi Hsuan
a54fbf2ca6
Merge branch 'patch-8239' of https://github.com/ping/youtube-dl into ping-patch-8239
2016-01-20 04:15:46 +08:00
Yen Chi Hsuan
d8024aebe5
Merge branch 'FounderSG-Weiqitv'
2016-01-20 04:06:09 +08:00
Yen Chi Hsuan
8652bd22f1
[weiqitv] Use single quotes
2016-01-20 04:04:39 +08:00
Yen Chi Hsuan
f15a9ca301
[weiqitv] Rename the extractor - capitilize 'TV'
2016-01-20 04:03:57 +08:00
Yen Chi Hsuan
65ced034b8
[weiqitv] Make codes shorter
2016-01-20 04:02:30 +08:00
Yen Chi Hsuan
bec30224ff
[letv] LetvCloud: Detect ext instead of the hardcoded one
2016-01-20 04:00:37 +08:00
Yen Chi Hsuan
0428106da3
[letv] LetvCloud: make title looks like a title
2016-01-20 03:53:17 +08:00
Yen Chi Hsuan
73e7442456
[letv] LetvCloud: simplify and improve _VALID_URL
2016-01-20 03:42:01 +08:00
Yen Chi Hsuan
26de1bba83
[letv] LetvCloud: check error messages from server
2016-01-20 03:31:34 +08:00
Yen Chi Hsuan
e0690782b8
[letv] LetvCloud: guard against invalid URLs
2016-01-20 03:25:12 +08:00
Yen Chi Hsuan
8fff4f61e5
[letv] Use single quotes
2016-01-20 03:18:54 +08:00
Yen Chi Hsuan
10defdd06a
[letv] Reduce duplicated codes
2016-01-20 03:17:35 +08:00
Yen Chi Hsuan
78be2eca7c
Merge branch 'Weiqitv' of https://github.com/FounderSG/youtube-dl into FounderSG-Weiqitv
2016-01-19 23:39:32 +08:00
Yen Chi Hsuan
b39eab7f94
Merge pull request #8262 from jwilk/https-everywhere
...
[ustream] Use HTTPS for GitHub URL
2016-01-17 22:10:03 +08:00
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
2016-01-16 22:17:31 +08:00
Yen Chi Hsuan
1358b94163
[ae] Fix _TESTS
2016-01-16 20:56:53 +08:00
Yen Chi Hsuan
350e02d40d
[bbc] Use _search_json_ld
2016-01-16 20:46:28 +08:00
Yen Chi Hsuan
0b26ba3fc8
[extractor/common] Allow passing more parameters to _search_json_ld
2016-01-16 20:45:36 +08:00
Yen Chi Hsuan and Sergey M․
10d33b3473
[YoutubeDL] Introduce CSS3 like string operators
2016-01-16 09:53:12 +06:00
Yen Chi Hsuan
cc28492d31
[youtube] Fix acodec and vcodec order
...
In RFC6381, there's no rule stating that the first part of codecs should
be video and the second part should be audio, while it seems the case
for data reported by YouTube.
2016-01-13 17:05:38 +08:00
Yen Chi Hsuan
141a273a8b
[qqmusic] Update tests
2016-01-02 22:39:09 +08:00
Yen Chi Hsuan
2fffb1dcd0
[qqmusic:playlist] Capture errors and update tests
2016-01-02 22:33:33 +08:00
Yen Chi Hsuan
e698e4e533
Merge branch 'remitamine-baidu'
2016-01-02 21:50:17 +08:00
Yen Chi Hsuan
b7546397f0
[baidu] Use list comprehension
2016-01-02 21:46:40 +08:00
Yen Chi Hsuan
0311677258
[baidu] Add notes for API calls
2016-01-02 21:44:49 +08:00
Yen Chi Hsuan
a1d9f6c5dc
[baidu] Improve playlist description
2016-01-02 21:36:35 +08:00
Yen Chi Hsuan
c579c5e967
[baidu] Cleanups
2016-01-02 21:31:02 +08:00
Yen Chi Hsuan
c9c194053d
Merge branch 'baidu' of https://github.com/remitamine/youtube-dl into remitamine-baidu
2016-01-02 21:27:32 +08:00
Yen Chi Hsuan
034caf70b2
[youku] Fix extraction ( #8068 )
2016-01-01 13:33:01 +08:00
Yen Chi Hsuan
c047270c02
[utils] Remove Content-encoding from headers after decompression
...
With cn_verification_proxy, our http_response() is called twice, one from
PerRequestProxyHandler.proxy_open() and another from normal
YoutubeDL.urlopen(). As a result, for proxies honoring Accept-Encoding, the
following bug occurs:
$ youtube-dl -vs --cn-verification-proxy https://secure.uku.im:993 "test:letv"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-vs', '--cn-verification-proxy', 'https://secure.uku.im:993 ', 'test:letv']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.12.23
[debug] Git HEAD: 97f18fa
[debug] Python version 3.5.1 - Linux-4.3.3-1-ARCH-x86_64-with-arch-Arch-Linux
[debug] exe versions: ffmpeg 2.8.4, ffprobe 2.8.4, rtmpdump 2.4
[debug] Proxy map: {}
[TestURL] Test URL: http://www.letv.com/ptv/vplay/22005890.html
[Letv] 22005890: Downloading webpage
[Letv] 22005890: Downloading playJson data
ERROR: Unable to download JSON metadata: Not a gzipped file (b'{"') (caused by OSError('Not a gzipped file (b\'{"\')',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/home/yen/Executables/Multimedia/youtube-dl/youtube_dl/extractor/common.py", line 330, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/home/yen/Executables/Multimedia/youtube-dl/youtube_dl/YoutubeDL.py", line 1886, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python3.5/urllib/request.py", line 471, in open
response = meth(req, response)
File "/home/yen/Executables/Multimedia/youtube-dl/youtube_dl/utils.py", line 773, in http_response
raise original_ioerror
File "/home/yen/Executables/Multimedia/youtube-dl/youtube_dl/utils.py", line 761, in http_response
uncompressed = io.BytesIO(gz.read())
File "/usr/lib/python3.5/gzip.py", line 274, in read
return self._buffer.read(size)
File "/usr/lib/python3.5/gzip.py", line 461, in read
if not self._read_gzip_header():
File "/usr/lib/python3.5/gzip.py", line 409, in _read_gzip_header
raise OSError('Not a gzipped file (%r)' % magic)
2015-12-28 01:09:18 +08:00
Yen Chi Hsuan
59185202c6
[iqiyi] Add tests for #7894
2015-12-28 00:19:36 +08:00
Yen Chi Hsuan
db2fe38b55
[utils] Support alternative timestamp format in TTML
...
Fixes #7608
2015-12-19 19:29:51 +08:00
Yen Chi Hsuan
d631d5f9f2
[utils] Fix TTML conversion
...
Tolerate invalid timestamps (closes #7909 )
2015-12-19 18:21:42 +08:00
Yen Chi Hsuan
10171468d9
[iqiyi] Update key ( closes #7896 )
2015-12-18 18:20:41 +08:00
Yen Chi Hsuan
bf597a6dd1
Merge pull request #7895 from Blue9/patch-1
...
Fix hyperlink to youtube-dl options
2015-12-18 18:10:41 +08:00
Yen Chi Hsuan
eb0bdc2c3e
[novamov] Fix again
2015-12-14 02:50:59 +08:00
Yen Chi Hsuan
6583c741cd
[novamov] Fix filekey extraction and reupload test video
2015-12-14 02:34:20 +08:00
Yen Chi Hsuan
02a63fadc3
[infoq] Refactor and support the Chinese version
...
Closes #7576
2015-12-13 19:16:58 +08:00
Yen Chi Hsuan
22d07ba4e4
[infoq] Fix extraction for HTTP URLs ( closes #7739 )
2015-12-13 17:29:27 +08:00
Yen Chi Hsuan
f6abca506e
[nowvideo] Skip deleted test case
2015-12-13 15:43:20 +08:00
Yen Chi Hsuan
b5424acdb9
[novamov] Improve existence checking
2015-12-13 15:43:20 +08:00
Yen Chi Hsuan
47c7f3d995
[novamov] Fix filekey extraction ( closes #7764 )
2015-12-13 15:43:20 +08:00
Yen Chi Hsuan
deb1e8d20e
[youku] Put the missing item to get_hd
2015-12-12 15:49:19 +08:00
Yen Chi Hsuan
174964a7bc
Credit @Celthi for fixing Youku extractor
2015-12-12 15:34:40 +08:00
Yen Chi Hsuan
9c568178fb
Merge branch 'Celthi-youku_bugfix'
2015-12-12 15:26:43 +08:00
Yen Chi Hsuan
dbb7d7e26c
[youku] Reorder format items
2015-12-12 15:24:58 +08:00
Yen Chi Hsuan
ade2340971
[youku] Simplify
2015-12-12 15:19:14 +08:00
Yen Chi Hsuan
4d77550cf0
[youku] Fix tests
2015-12-12 14:57:14 +08:00
Yen Chi Hsuan
c683454e7e
[youku] MD5 is unstable
2015-12-12 14:48:46 +08:00
Yen Chi Hsuan
f133fd326b
[youku] Cleanup and PEP8
2015-12-12 14:41:53 +08:00
Yen Chi Hsuan
1faa66f005
Merge branch 'youku_bugfix' of https://github.com/Celthi/youtube-dl into Celthi-youku_bugfix
2015-12-12 14:36:29 +08:00
Yen Chi Hsuan
8773f3158f
[safari] Use postdata_urlencode ( #7465 )
2015-12-12 14:28:05 +08:00
Yen Chi Hsuan
b6afc225c8
[vevo] Use _download_smil to provide informative error messages
2015-12-11 19:16:51 +08:00
Yen Chi Hsuan
ad30dc1e20
[vevo] Allow calling API without https
...
Not all proxies allow CONNECT
2015-12-11 19:07:13 +08:00
Yen Chi Hsuan
ff51983e15
[vevo] Handle videos without video_info ( #7802 )
2015-12-11 18:52:03 +08:00
Yen Chi Hsuan
4b94288301
[vevo] Use _match_id
2015-12-11 17:32:29 +08:00
Yen Chi Hsuan
4bf99ade15
[vevo] Catch the georestriction message ( #7802 )
2015-12-11 14:25:01 +08:00
Yen Chi Hsuan
8364b6b0b1
[iqiyi] Update key
...
Closes #7772
2015-12-06 16:41:02 +08:00
Yen Chi Hsuan
38d05d17e5
[fc2] Fix test_FC2_1
2015-12-05 21:10:26 +08:00
Yen Chi Hsuan
db9bd5267f
[keezmovies] Fix extraction
...
Also fixes #7752
2015-12-05 17:26:13 +08:00
Yen Chi Hsuan
0bc4ee60e0
[bbc] Fix test_BBC_6
2015-12-05 16:55:53 +08:00
Yen Chi Hsuan
a3ef0e1cdd
[bbc.co.uk] Skip removed test video
2015-12-05 16:55:53 +08:00
Yen Chi Hsuan
679bacf0b5
[bbc.co.uk] Fix test_BBCCoUk
...
This is similar to the one in #7756 , So also fixes #7756 .
2015-12-05 16:55:53 +08:00
Yen Chi Hsuan
64b7e89c0c
[srf] Support audios ( closes #7760 )
2015-12-05 16:26:30 +08:00
Yen Chi Hsuan
049d71d874
[youtube] Simplify and make sure header values are strings
2015-11-29 19:52:48 +08:00
Yen Chi Hsuan
ef428960c9
Merge pull request #7691 from ryandesign/use-PYTHON-env-var
...
Always use PYTHON env var in Makefile
2015-11-29 13:08:46 +08:00
Yen Chi Hsuan
992fc9d6e1
[utils] Refactor handle_youtubedl_headers for future extension
2015-11-29 12:58:29 +08:00
Yen Chi Hsuan
0424ec307b
[utils] Correct docstring of YoutubeDLHandler
2015-11-29 12:46:04 +08:00
Yen Chi Hsuan
ac5a69af45
[youtube] Disable compression for live streams
2015-11-29 12:44:24 +08:00
Yen Chi Hsuan
94e8c80473
[downloader/hls] Respect Youtubedl-* headers
2015-11-29 12:43:59 +08:00
Yen Chi Hsuan
87f0e62d94
[utils] Separate codes for handling Youtubedl-* headers
2015-11-29 12:42:50 +08:00