mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-15 07:42:42 +00:00
[youku] Fix extraction; update ccode (closes #14815)
This commit is contained in:
parent
a9efdf3d4a
commit
8f63941104
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
version <unreleased>
|
||||||
|
|
||||||
|
Extractors
|
||||||
|
* [youku] Fix extraction; update ccode (#14815)
|
||||||
|
|
||||||
|
|
||||||
version 2017.11.15
|
version 2017.11.15
|
||||||
|
|
||||||
Core
|
Core
|
||||||
|
|
|
@ -154,7 +154,7 @@ class YoukuIE(InfoExtractor):
|
||||||
# request basic data
|
# request basic data
|
||||||
basic_data_params = {
|
basic_data_params = {
|
||||||
'vid': video_id,
|
'vid': video_id,
|
||||||
'ccode': '0402' if 'tudou.com' in url else '0401',
|
'ccode': '0502',
|
||||||
'client_ip': '192.168.1.1',
|
'client_ip': '192.168.1.1',
|
||||||
'utid': cna,
|
'utid': cna,
|
||||||
'client_ts': time.time() / 1000,
|
'client_ts': time.time() / 1000,
|
||||||
|
|
Loading…
Reference in a new issue