projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #7045 from remitamine/ign
[youtube-dl]
/
youtube_dl
/
extractor
/
iqiyi.py
diff --git
a/youtube_dl/extractor/iqiyi.py
b/youtube_dl/extractor/iqiyi.py
index ce1ab3820a13a7688d003b1b4a3e02ff8ae78ed5..c3731a110b9a0ce222e742161fdbc1081fbbab61 100644
(file)
--- a/
youtube_dl/extractor/iqiyi.py
+++ b/
youtube_dl/extractor/iqiyi.py
@@
-191,7
+191,7
@@
class IqiyiIE(InfoExtractor):
'vid': video_id,
'vinfo': 1,
'tm': tm,
'vid': video_id,
'vinfo': 1,
'tm': tm,
- 'enc': self.md5_text(
(enc_key + tail)[1:64:2]
+ tail),
+ 'enc': self.md5_text(
enc_key
+ tail),
'qyid': _uuid,
'tn': random.random(),
'um': 0,
'qyid': _uuid,
'tn': random.random(),
'um': 0,
@@
-205,7
+205,8
@@
class IqiyiIE(InfoExtractor):
def get_enc_key(self, swf_url, video_id):
# TODO: automatic key extraction
def get_enc_key(self, swf_url, video_id):
# TODO: automatic key extraction
- enc_key = 'eac64f22daf001da6ba9aa8da4d501508bbe90a4d4091fea3b0582a85b38c2cc' # last update at 2015-09-23-23 for Zombie::bite
+ # last update at 2015-12-18 for Zombie::bite
+ enc_key = '8b6b683780897eb8d9a48a02ccc4817d'[::-1]
return enc_key
def _real_extract(self, url):
return enc_key
def _real_extract(self, url):