Skip to content

[BUG]AV号链接解析失败 #58

New issue

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

Closed
100pangci opened this issue Feb 11, 2025 · 1 comment
Closed

[BUG]AV号链接解析失败 #58

100pangci opened this issue Feb 11, 2025 · 1 comment
Labels
故障(bug) Something isn't working

Comments

@100pangci
Copy link

100pangci commented Feb 11, 2025

使用此视频作为样例:BV1Q2fEY8ELp
若是BV号,其正常解析,如下。
https://www.bilibili.com/video/BV1Q2fEY8ELp

Image

若是AV号,则会报以下错误
https://www.bilibili.com/video/av113882081267335/

Traceback (most recent call last):
  File "D:\Software\BILI23~1\utils\parse\video.py", line 188, in parse_url
  File "D:\Software\BILI23~1\utils\parse\video.py", line 181, in worker
  File "D:\Software\BILI23~1\utils\parse\video.py", line 91, in get_video_info
  File "D:\Software\BILI23~1\utils\parse\video.py", line 204, in check_json
Exception: -404

截图
Image

@ScottSloan
Copy link
Owner

已在开发分支中更新 av 号转 bvid 算法,将在下个版本中并入主分支,感谢反馈。

@ScottSloan ScottSloan added the 故障(bug) Something isn't working label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
故障(bug) Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants