mirror of
https://github.com/soimort/you-get.git
synced 2025-01-24 05:55:02 +03:00
Use 0513 when cookies are used
0507 doesn't seem to honour cookies when they're loaded.
This commit is contained in:
parent
f6be4a2904
commit
92eb72bc7d
@ -78,7 +78,10 @@ class Youku(VideoExtractor):
|
||||
self.api_error_code = None
|
||||
self.api_error_msg = None
|
||||
|
||||
self.ccode = '0513'
|
||||
if cookies:
|
||||
self.ccode = '0513'
|
||||
else:
|
||||
self.ccode = '0507'
|
||||
self.utid = None
|
||||
|
||||
def youku_ups(self):
|
||||
|
Loading…
Reference in New Issue
Block a user