Open Bianca2000 opened 1 month ago
/nga/post/:tid/:authorId?
: @xyqfer @syrinkaTo maintainers: if you are not willing to be disturbed, list your username in
scripts/workflow/test-issue/call-maintainer.js
. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.
If all routes can not be found, the issue will be closed automatically. Please use NOROUTE
for a route-irrelevant issue or leave a comment if it is a mistake.
如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE
关键词,或者留下评论。我们会重新审核。
The route works well and the 403 error is caused by the nga anti-crawler/restrictions. May be you can decrease the fetching interval and try again.
虽然但是你给的那个帖子可以正常访问
我在测试/nga/post/41312589
的时候遇到了这个问题
只有rsshub没法正常获取内容
curl/burp suite/chrome啥的都没问题
burp suite拦截请求再发送的时候也没问题
但是如果不拦截请求直接放行就403
感觉是HTTP/2的神奇问题,重试一次就能正常访问了
你可以修改这里lib/utils/ofetch.ts
让ofetch自动重试403页面,我这里重试到第二次就可以正常访问了
Routes
Full routes
Related documentation
https://docs.rsshub.app/zh/routes/bbs#nga
What is expected?
獲取帖子內容
What is actually happening?
FetchError: [GET] "https://nga.178.com/read.php?tid=38508595&page=3656&rand=440.52058106010605#": 403 Forbidden
Deployment information
Self-hosted
Deployment information (for self-hosted)
https://rss.peachyjoy.top/
Additional info
This is not a duplicated issue