mirror of
https://github.com/soimort/you-get.git
synced 2025-02-10 12:12:26 +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_msg = None
|
||||
|
||||
self.ccode = '0512'
|
||||
self.ccode = '0502'
|
||||
self.utid = None
|
||||
|
||||
def youku_ups(self):
|
||||
@ -154,7 +154,7 @@ class Youku(VideoExtractor):
|
||||
log.wtf('Cannot fetch vid')
|
||||
|
||||
if kwargs.get('src') and kwargs['src'] == 'tudou':
|
||||
self.ccode = '0512'
|
||||
self.ccode = '0502'
|
||||
|
||||
if kwargs.get('password') and kwargs['password']:
|
||||
self.password_protected = True
|
||||
|
Loading…
Reference in New Issue
Block a user