aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2017-11-22 22:49:48 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2017-11-22 22:49:48 +0800
commit8f639411042d35cd3be6eeff485e3015bafce4d7 (patch)
treeba0a2a20ea0e1f17f65534ec89a44164f9b0f2b4 /youtube_dl
parenta9efdf3d4a18ec5657ea50f31715e1b88a945820 (diff)
[youku] Fix extraction; update ccode (closes #14815)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/youku.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youku.py b/youtube_dl/extractor/youku.py
index 0c4bc2eda..6822a30bc 100644
--- a/youtube_dl/extractor/youku.py
+++ b/youtube_dl/extractor/youku.py
@@ -154,7 +154,7 @@ class YoukuIE(InfoExtractor):
# request basic data
basic_data_params = {
'vid': video_id,
- 'ccode': '0402' if 'tudou.com' in url else '0401',
+ 'ccode': '0502',
'client_ip': '192.168.1.1',
'utid': cna,
'client_ts': time.time() / 1000,