SeaHOH / ykdl

a video downloader focus on China mainland video sites.
https://github.com/zhangn1985/ykdl
Other
1.42k stars 285 forks source link

部分iqiyi视频无法解析 #608

Closed karma-sun closed 1 year ago

karma-sun commented 1 year ago

部分iqiyi视频无法解析,但浏览器中无问题

ykdl --debug -i https://www.iqiyi.com/v_1zo488bnv6s.html

请将错误输出粘贴在下面:

DEBUG:ykdl.util.http:Add <urllib.request.HTTPSHandler object at 0x000001C8E22AD700> to default handlers
DEBUG:ykdl.util.http:Add <urllib.request.ProxyHandler object at 0x000001C8E22ADD60> to default handlers
DEBUG:ykdl.common:host> www.iqiyi.com
DEBUG:ykdl.common:short_name> iqiyi
DEBUG:ykdl.util.http:get_response> URL: https://www.iqiyi.com/v_1zo488bnv6s.html
DEBUG:爱奇艺 (Iqiyi):No active exception to reraise
Traceback (most recent call last):
  File "C:\Python39\lib\site-packages\ykdl-1.8.0-py3.9.egg\ykdl\extractors\iqiyi\video.py", line 242, in prepare
    fetch()
  File "C:\Python39\lib\site-packages\ykdl-1.8.0-py3.9.egg\ykdl\extractors\iqiyi\video.py", line 192, in fetch_tmts
    raise
RuntimeError: No active exception to reraise
DEBUG:ykdl.util.http:get_response> URL: http://cache.video.qiyi.com/vps?tvid=%224409204853086017%22&vid=7223202647699400&v=0&qypid=%224409204853086017%22_12&src=01012001010000000000&t=1659001183393&k_tag=1&k_uid=ugng5fx0xlssrwn4mbuhe8i0ry5rlp37&rs=1&vf=9ca6cf809a76475b633a227ec197233f
DEBUG:ykdl.util.http:parse JSON from 'http://cache.video.qiyi.com/vps?tvid=%224409204853086017%22&vid=7223202647699400&v=0&qypid=%224409204853086017%22_12&src=01012001010000000000&t=1659001183393&k_tag=1&k_uid=ugng5fx0xlssrwn4mbuhe8i0ry5rlp37&rs=1&vf=9ca6cf809a76475b633a227ec197233f':
{"data":{"play":{"dispatcher":{},"info":{}},"parts":{},"vp":{}},"code":"A00001"}

如果你有其他附言,例如问题只在某个视频发生,或者是一般性讨论或者提出新功能,请在下面添加:

[在这里输入内容文本]