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

/zaobao/znews is broken for all RSSHub public instances and my self-hosted instance #17150

Closed
1 task done
AiraNadih opened this issue Oct 15, 2024 · 4 comments · Fixed by #17152
Closed
1 task done
Labels
RSS bug Something isn't working

Comments

@AiraNadih
Copy link
Contributor

Routes

/zaobao/znews/:section?

Full routes

/zaobao/znews/china

Related documentation

https://docs.rsshub.app/routes/traditional-media#%E6%96%B0%E9%97%BB-1

What is expected?

RSS is rendered.

What is actually happening?

Error: this route is empty, please check the original site or create an issue

Deployment information

RSSHub demo (https://rsshub.app)

Deployment information (for self-hosted)

No response

Additional info

None.

This is not a duplicated issue

  • I have searched existing issues to ensure this bug has not already been reported
@AiraNadih AiraNadih added the RSS bug Something isn't working label Oct 15, 2024
Copy link
Contributor

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.

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 关键词,或者留下评论。我们会重新审核。

@AiraNadih
Copy link
Contributor Author

/test

/zaobao/znews/china

Copy link
Contributor

Successfully generated as following:

http://localhost:1200/zaobao/znews/china - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>Error: this route is empty, please check the original site or &lt;a href=&quot;https://github.com/DIYgod/RSSHub/issues/new/choose&quot;&gt;create an issue&lt;/a&gt;
Route: /zaobao/znews/:section?
Full Route: /zaobao/znews/china
Node Version: v20.17.0
Git Hash: e0d51bac

@dzx-dzx
Copy link
Contributor

dzx-dzx commented Oct 15, 2024

let data = /realtime/.test(sectionUrl) ? $('.card-listing .card') : $('.article-list').find('.article-type');

- let data = /realtime/.test(sectionUrl) ? $('.card-listing .card') : $('.article-list').find('.article-type');
+ let data = $('.card-listing .card');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RSS bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants