Skip to content

feat(route): add Hunan Museum exhibiton and news routes#22430

Open
magazian wants to merge 4 commits into
DIYgod:masterfrom
magazian:feat-hnmuseum
Open

feat(route): add Hunan Museum exhibiton and news routes#22430
magazian wants to merge 4 commits into
DIYgod:masterfrom
magazian:feat-hnmuseum

Conversation

@magazian

@magazian magazian commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Involved Issue / 该 PR 相关 Issue

Close #

Example for the Proposed Route(s) / 路由地址示例

/hnmuseum/hnmnews
/hnmuseum/current-exhibitions

New RSS Route Checklist / 新 RSS 路由检查表

  • New Route / 新的路由
  • Anti-bot or rate limit / 反爬/频率限制
    • If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
  • Date and time / 日期和时间
    • Parsed / 可以解析
    • Correct time zone / 时区正确
  • New package added / 添加了新的包
  • Puppeteer

Note / 说明

@github-actions github-actions Bot added the route label Jul 4, 2026
Comment thread lib/routes/hnmuseum/exhibitions.tsx Fixed
@github-actions github-actions Bot added the auto: not ready to review Users can't get the RSS feed output according to automated testing results label Jul 4, 2026
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Successfully generated as following:

http://localhost:1200/hnmuseum/hnmnews - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>FetchError: [GET] &quot;https://www.hnmuseum.com/zh-hans/xiangbo_dongtai_news&quot;: &lt;no response&gt; fetch failed
Route: /hnmuseum/hnmnews
Full Route: /hnmuseum/hnmnews
Node Version: v24.18.0
Git Hash: 355c7412
http://localhost:1200/hnmuseum/current-exhibitions - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>FetchError: [GET] &quot;https://www.hnmuseum.com/zh-hans/content/当前展览-基本陈列&quot;: &lt;no response&gt; fetch failed
Route: /hnmuseum/current-exhibitions
Full Route: /hnmuseum/current-exhibitions
Node Version: v24.18.0
Git Hash: 355c7412

@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Auto Review

No clear rule violations found in the current diff.

@github-actions github-actions Bot added auto: not ready to review Users can't get the RSS feed output according to automated testing results and removed auto: not ready to review Users can't get the RSS feed output according to automated testing results labels Jul 4, 2026
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Successfully generated as following:

http://localhost:1200/hnmuseum/hnmnews - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>FetchError: [GET] &quot;https://www.hnmuseum.com/zh-hans/xiangbo_dongtai_news&quot;: &lt;no response&gt; fetch failed
Route: /hnmuseum/hnmnews
Full Route: /hnmuseum/hnmnews
Node Version: v24.18.0
Git Hash: 5941e4ac
http://localhost:1200/hnmuseum/current-exhibitions - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>FetchError: [GET] &quot;https://www.hnmuseum.com/zh-hans/content/当前展览-基本陈列&quot;: &lt;no response&gt; fetch failed
Route: /hnmuseum/current-exhibitions
Full Route: /hnmuseum/current-exhibitions
Node Version: v24.18.0
Git Hash: 5941e4ac

@github-actions github-actions Bot removed the auto: not ready to review Users can't get the RSS feed output according to automated testing results label Jul 4, 2026
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Auto Review

  • Rule 23 (import type for type-only imports): lib/routes/hnmuseum/exhibitions.tsx:1load is a value import but is inside a import type statement. Fix: separate it into import { load } from 'cheerio' and import type { Cheerio } from 'cheerio', or use inline type modifier like import { type Cheerio, load } from 'cheerio'.

@github-actions github-actions Bot added the auto: not ready to review Users can't get the RSS feed output according to automated testing results label Jul 4, 2026
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Successfully generated as following:

http://localhost:1200/hnmuseum/hnmnews - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>FetchError: [GET] &quot;https://www.hnmuseum.com/zh-hans/xiangbo_dongtai_news&quot;: &lt;no response&gt; fetch failed
Route: /hnmuseum/hnmnews
Full Route: /hnmuseum/hnmnews
Node Version: v24.18.0
Git Hash: 81042412
http://localhost:1200/hnmuseum/current-exhibitions - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>FetchError: [GET] &quot;https://www.hnmuseum.com/zh-hans/content/当前展览-基本陈列&quot;: &lt;no response&gt; fetch failed
Route: /hnmuseum/current-exhibitions
Full Route: /hnmuseum/current-exhibitions
Node Version: v24.18.0
Git Hash: 81042412

@magazian

magazian commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author
image image The routes work locally, see screenshot attached.

@magazian

magazian commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

Auto Review

  • Rule 23 (import type for type-only imports): lib/routes/hnmuseum/exhibitions.tsx:1load is a value import but is inside a import type statement. Fix: separate it into import { load } from 'cheerio' and import type { Cheerio } from 'cheerio', or use inline type modifier like import { type Cheerio, load } from 'cheerio'.

import { type Cheerio, load } from 'cheerio' is used, I could not see any rule violation here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto: not ready to review Users can't get the RSS feed output according to automated testing results route

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants