We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
以我的b站首页推荐的一个视频举例: bilix v 'https://www.bilibili.com/video/BV1KK411Z7m1' --image 会提示错误信息 WARNING GET ValueError 未知异常 url: //i1.hdslb.com/bfs/archive/c84c0d409451ce5cf6c379156b5d6d2122dc9ed7.jpg@100w_100h_1c.png ERROR 超过重复次数 //i1.hdslb.com/bfs/archive/c84c0d409451ce5cf6c379156b5d6d2122dc9ed7.jpg@100w_100h_1c.png
bilix v 'https://www.bilibili.com/video/BV1KK411Z7m1' --image
WARNING GET ValueError 未知异常 url: //i1.hdslb.com/bfs/archive/c84c0d409451ce5cf6c379156b5d6d2122dc9ed7.jpg@100w_100h_1c.png
ERROR 超过重复次数 //i1.hdslb.com/bfs/archive/c84c0d409451ce5cf6c379156b5d6d2122dc9ed7.jpg@100w_100h_1c.png
我没注意过之前封面的url格式,但现在的这个url没有指定协议,另外即使用HTTP请求到了也只是一个100*100的图片,@前面的才是原图。而代码里好像没见到有对这部分的处理,因此猜测可能是b站改了前端的代码。 另外由于无法请求到图片,因此导致超过重复次数,最终导致抛出异常,甚至连可以正常下载的视频都无法下载。
The text was updated successfully, but these errors were encountered:
好的,这个会尽快处理,前端这里可能是有变动
Sorry, something went wrong.
目前我的workaround就是在api/bilibili.py里加一行img_url = 'http:' + img_url[: img_url.rfind('@')],可以初步解决问题
img_url = 'http:' + img_url[: img_url.rfind('@')]
对于部分视频,例如番剧,还是和之前一样,所以不能直接加一行,做个判断即可
版本0.10.3应该修复了这个问题
No branches or pull requests
以我的b站首页推荐的一个视频举例:
bilix v 'https://www.bilibili.com/video/BV1KK411Z7m1' --image
会提示错误信息
WARNING GET ValueError 未知异常 url: //i1.hdslb.com/bfs/archive/c84c0d409451ce5cf6c379156b5d6d2122dc9ed7.jpg@100w_100h_1c.png
ERROR 超过重复次数 //i1.hdslb.com/bfs/archive/c84c0d409451ce5cf6c379156b5d6d2122dc9ed7.jpg@100w_100h_1c.png
我没注意过之前封面的url格式,但现在的这个url没有指定协议,另外即使用HTTP请求到了也只是一个100*100的图片,@前面的才是原图。而代码里好像没见到有对这部分的处理,因此猜测可能是b站改了前端的代码。
另外由于无法请求到图片,因此导致超过重复次数,最终导致抛出异常,甚至连可以正常下载的视频都无法下载。
The text was updated successfully, but these errors were encountered: