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

路透社中国分区503 #13727

Closed
1 task done
1amfine2333 opened this issue Nov 8, 2023 · 8 comments · Fixed by #13730
Closed
1 task done

路透社中国分区503 #13727

1amfine2333 opened this issue Nov 8, 2023 · 8 comments · Fixed by #13730
Labels
Bug Ping: Pinged Count: 1/1 Route: v2 v2 route related RSS bug Something isn't working

Comments

@1amfine2333
Copy link

路由地址

/reuters/:category/:topic?

完整路由地址

/reuters/world/china

相关文档

https://docs.rsshub.app/zh/routes/traditional-media#reuters-lu-tou-she

预期是什么?

https://rsshub.app/reuters/world/china
现在报错503,自部署也是503
image
路透社官网正常
image
us正常
image

实际发生了什么?

现在报错503
image
自部署也是503
image

部署

RSSHub 演示 (https://rsshub.app)

部署相关信息

No response

额外信息

Route requested: /world/china
Error message: Response code 503 (Service Temporarily Unavailable): target website might be blocking our access, you can host your own RSSHub instance for a better usability.
Helpful Information to provide when opening issue:
Path: /world/china
Node version: v18.18.2
Git Hash: 04b47ef

这不是重复的 issue

  • 我已经搜索了 现有 issue,以确保该错误尚未被报告。
@1amfine2333 1amfine2333 added the RSS bug Something isn't working label Nov 8, 2023
Copy link
Contributor

github-actions bot commented Nov 8, 2023

Searching for maintainers:

To 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.

如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE 关键词,或者留下评论。我们会重新审核。
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.

@TonyRL
Copy link
Collaborator

TonyRL commented Nov 8, 2023

/test

/reuters/world/china

Copy link
Contributor

github-actions bot commented Nov 8, 2023

Successfully generated as following:

http://localhost:1200/reuters/world/china - Failed ❌
HTTPError: Response code 404 (Not Found)

Route requested: /world/china
Error message: Response code 503 (Service Temporarily Unavailable): target website might be blocking our access, you can <a href="https://docs.rsshub.app/install/">host your own RSSHub instance</a> for a better usability.
Helpful Information to provide when opening issue:
Path: /world/china
Node version: v20.9.0
Git Hash: f69a2a4

@TonyRL
Copy link
Collaborator

TonyRL commented Nov 8, 2023

@1amfine2333
Copy link
Author

As you can see from the log, this article https://www.reuters.com/video/us-chinese-officials-held-arms-control-talks-monday-state-dept-2023-11-07/ is causing 503.

有没有什么解决办法之类的,之后可能还会有文章503的情况

@black-desk
Copy link
Contributor

单篇文章503就打个warning跳过?

@1amfine2333
Copy link
Author

单篇文章503就打个warning跳过?

感觉可以的,跳过单篇503的文章再生成xml吧

@1amfine2333
Copy link
Author

也可以这样,访问单篇的时候,状态码不等于200的时候,直接跳过抓起内容,这样也能保证生成rss.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Ping: Pinged Count: 1/1 Route: v2 v2 route related RSS bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants