mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[iqiyi] Fix 1080P extraction (closes #9446)
This commit is contained in:
parent
e0741fd449
commit
4540515cb3
1 changed files with 4 additions and 1 deletions
|
@ -505,7 +505,10 @@ def get_raw_data(self, tvid, video_id, enc_key, _uuid):
|
||||||
'enc': md5_text(enc_key + tail),
|
'enc': md5_text(enc_key + tail),
|
||||||
'qyid': _uuid,
|
'qyid': _uuid,
|
||||||
'tn': random.random(),
|
'tn': random.random(),
|
||||||
'um': 0,
|
# In iQiyi's flash player, um is set to 1 if there's a logged user
|
||||||
|
# Some 1080P formats are only available with a logged user.
|
||||||
|
# Here force um=1 to trick the iQiyi server
|
||||||
|
'um': 1,
|
||||||
'authkey': md5_text(md5_text('') + tail),
|
'authkey': md5_text(md5_text('') + tail),
|
||||||
'k_tag': 1,
|
'k_tag': 1,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue