mirror of
https://github.com/soimort/you-get.git
synced 2025-02-11 04:32:27 +03:00
change ccode into 0502,Then youku will work
This commit is contained in:
parent
6e17b0c7f9
commit
b12ad86723
@ -78,7 +78,7 @@ class Youku(VideoExtractor):
|
|||||||
self.api_error_code = None
|
self.api_error_code = None
|
||||||
self.api_error_msg = None
|
self.api_error_msg = None
|
||||||
|
|
||||||
self.ccode = '0512'
|
self.ccode = '0502'
|
||||||
self.utid = None
|
self.utid = None
|
||||||
|
|
||||||
def youku_ups(self):
|
def youku_ups(self):
|
||||||
@ -154,7 +154,7 @@ class Youku(VideoExtractor):
|
|||||||
log.wtf('Cannot fetch vid')
|
log.wtf('Cannot fetch vid')
|
||||||
|
|
||||||
if kwargs.get('src') and kwargs['src'] == 'tudou':
|
if kwargs.get('src') and kwargs['src'] == 'tudou':
|
||||||
self.ccode = '0512'
|
self.ccode = '0502'
|
||||||
|
|
||||||
if kwargs.get('password') and kwargs['password']:
|
if kwargs.get('password') and kwargs['password']:
|
||||||
self.password_protected = True
|
self.password_protected = True
|
||||||
|
Loading…
Reference in New Issue
Block a user