Skip to content
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

[漏洞] b站的一个域名撤掉了,导致probe_url检测时报错,无法上传文件 #831

Open
liaozd opened this issue Oct 18, 2024 · 2 comments
Labels
bug 漏洞

Comments

@liaozd
Copy link

liaozd commented Oct 18, 2024

**模块版本:"16.3.0"

模块路径: bilibili_api.video_uploader.py

报错信息:

[2024-10-17 21:29:35,235: WARNING/ForkPoolWorker-2] File "/usr/local/lib/python3.11/site-packages/bilibili_api/video_uploader.py", line 91, in _probe
httpx.post(f'https:{line["probe_url"]}', data=data, timeout=timeout)

报错代码:

/usr/local/lib/python3.11/site-packages/bilibili_api/data/video_uploader_lines.json

"ws": {
    "os": "upos",
    "upcdn": "ws",
    "probe_version": 20221109,
    "query": "upcdn=ws&probe_version=20221109",
    "probe_url": "//upos-cs-upcdnws.bilivideo.com/OK"
}

域名撤了:

$ ping upos-cs-upcdnws.bilivideo.com
ping: upos-cs-upcdnws.bilivideo.com: Name or service not known

@liaozd liaozd added the bug 漏洞 label Oct 18, 2024
@820552750
Copy link

更改class lines就行了
image

@liaozd
Copy link
Author

liaozd commented Oct 23, 2024

更改class lines就行了 image

这个怎么操作,需要改源码还是该配置就行了 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 漏洞
Projects
None yet
Development

No branches or pull requests

2 participants