mirror of
https://github.com/soimort/you-get.git
synced 2025-02-02 16:24:00 +03:00
Update youku ccode
This commit is contained in:
parent
c0a483dab1
commit
01f04c1ba8
@ -77,7 +77,7 @@ class Youku(VideoExtractor):
|
||||
self.api_error_code = None
|
||||
self.api_error_msg = None
|
||||
|
||||
self.ccode = '0564'
|
||||
self.ccode = '0502'
|
||||
# Found in http://g.alicdn.com/player/ykplayer/0.5.64/youku-player.min.js
|
||||
# grep -oE '"[0-9a-zA-Z+/=]{256}"' youku-player.min.js
|
||||
self.ckey = 'DIl58SLFxFNndSV1GFNnMQVYkx1PP5tKe1siZu/86PR1u/Wh1Ptd+WOZsHHWxysSfAOhNJpdVWsdVJNsfJ8Sxd8WKVvNfAS8aS8fAOzYARzPyPc3JvtnPHjTdKfESTdnuTW6ZPvk2pNDh4uFzotgdMEFkzQ5wZVXl2Pf1/Y6hLK0OnCNxBj3+nb0v72gZ6b0td+WOZsHHWxysSo/0y9D2K42SaB8Y/+aD2K42SaB8Y/+ahU+WOZsHcrxysooUeND'
|
||||
@ -157,7 +157,8 @@ class Youku(VideoExtractor):
|
||||
log.wtf('Cannot fetch vid')
|
||||
|
||||
if kwargs.get('src') and kwargs['src'] == 'tudou':
|
||||
self.ccode = '0512'
|
||||
self.ccode = '0502'
|
||||
# Found in https://g.alicdn.com/kplayer/kuplayer/4.1.61-xmedia/index.js
|
||||
|
||||
if kwargs.get('password') and kwargs['password']:
|
||||
self.password_protected = True
|
||||
|
Loading…
Reference in New Issue
Block a user