diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-05-12 18:48:27 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-05-12 18:48:27 +0800 |
commit | 4540515cb3daa0716fa94e54cacb566ef1461ab3 (patch) | |
tree | a3b5ae4b29bca0b73b9eed39087257e64d753502 /youtube_dl | |
parent | e0741fd4496c85ef447e72df935cb6edd1af53ed (diff) |
[iqiyi] Fix 1080P extraction (closes #9446)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/iqiyi.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/iqiyi.py b/youtube_dl/extractor/iqiyi.py index ffb8008ce..ddcb3c916 100644 --- a/youtube_dl/extractor/iqiyi.py +++ b/youtube_dl/extractor/iqiyi.py @@ -505,7 +505,10 @@ class IqiyiIE(InfoExtractor): 'enc': md5_text(enc_key + tail), 'qyid': _uuid, '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), 'k_tag': 1, } |