Use 0513 when cookies are used

0507 doesn't seem to honour cookies when they're loaded.
This commit is contained in:
Kugel-Blitz 2018-03-11 10:06:19 +13:00
parent f6be4a2904
commit 92eb72bc7d

View File

@ -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):