-
Notifications
You must be signed in to change notification settings - Fork 295
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
javdb刮削失败,指定网站和单个文件刮削都不行 #65
Comments
#14 |
但是在网络连接测试中是正常连接的呀,使用网页打开JavDB也正常 |
网络测试用的不是同一个网络请求库,应该是库的问题 |
同样情况,亲测23年3月老版本可以正常刮削javdb |
原版的刮削时间较久,发现虽然有报ErrCode: 28,但是还是可以在其他网站刮削。 |
关于这个curl_cffi,作者描述是为了替换httpx 和 requests,解决被网站封锁的问题。具体尚未了解其原理和作用,有issus指出可能会有timeout的问题 |
这个库是通过伪造 chrome 的 tls 指纹以绕过 cf 防护,但是实现方式是通过 cffi 调用修改过的 curl,因为无法直接调试 curl c 代码,所以排查问题比较困难 |
尝试下切换到 http/1.1 是否能解决问题呢?requests 是只支持 1.1 的,也有可能是这个问题。 |
最大的问题是我无法复现此情况,所以没法排查,此库在我本地运行正常。 |
在提问之前...
描述你的问题
使用javdb网站刮削失败,失败原因如下
失败原因: 请求错误: https://javdb.com/search?q=OTAT-008&locale=zh
Error: Failed to perform, ErrCode: 28, Reason: 'Failed to connect to javdb.com port 443 after 21056 ms: Timed out'. This may be a libcurl error, See https://curl.se/libcurl/c/libcurl-errors.html first for more details.
如何复现
预期行为
No response
相关 Logs
截图
No response
还有别的吗?
No response
The text was updated successfully, but these errors were encountered: