DIYgod / RSSHub

🧡 Everything is RSSible
https://docs.rsshub.app
MIT License
32.13k stars 7.14k forks source link

联合早报 即时 #16580

Closed Jiematcha closed 1 day ago

Jiematcha commented 2 weeks ago

路由地址

/zaobao/realtime/:section?

完整路由地址

/zaobao/realtime/china
/zaobao/realtime/world

相关文档

https://docs.rsshub.app/zh/routes/traditional-media#%E8%81%94%E5%90%88%E6%97%A9%E6%8A%A5

预期是什么?

联合早报 即时

实际发生了什么?

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

部署

自建

部署相关信息

Docker

额外信息

Error Message:
Error: this route is empty, please check the original site or <a href="https://github.com/DIYgod/RSSHub/issues/new/choose">create an issue</a>

Route: /zaobao/realtime/:section?

Full Route: /zaobao/realtime/world

Node Version: v22.7.0

Git Hash: 84243eb7

Git Date: Thu, 29 Aug 2024 01:06:48 GMT

这不是重复的 issue

github-actions[bot] commented 2 weeks ago
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 关键词,或者留下评论。我们会重新审核。

dzx-dzx commented 1 week ago

https://github.com/DIYgod/RSSHub/blob/master/lib/routes/zaobao/util.ts#L41

can be changed to

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