Commit Graph
8122 Commits
Author SHA1 Message Date
DIYgod 4523d37cbd feat: add img width height for bilibili/dynamic weibo/user xiaohongshu/user routes 2025-09-01 13:18:51 +08:00
Ethan Shen 6c60358c7d feat(route): add Koyso (#19940)
* feat(route): add Koyso

* fix typo
2025-09-01 09:09:44 +08:00
100の人 (エスパー・イーシア) 2dd175c9ff feat(route): add Niconico Mylist (#19938) 2025-08-31 22:57:10 +08:00
Tsung-Han Yu e95d69354f fix(route/anthropic): title and pubDate not found issue (#19915)
* fix: title and pubDate not found issue

also fixed the type warnings

* fix: use user-provided limit as default

* fix: use null coalescing
2025-08-31 22:03:08 +08:00
Tony e9038b7c6e fix(route/apple): fix paid podcast retrieval (#19937) 2025-08-31 06:00:31 +08:00
Tony f5d709b66a fix(route/youtube): fix community post url (#19935) 2025-08-31 00:25:39 +08:00
skeaven chen a8e3fee462 feat(route): add 中华人民共和国国家应急管理部信息公开 (#19934)
* ## Involved Issue / 该 PR 相关 Issue

Close #

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

```routes
/gov/mem/gk/zfxxgkpt/fdzdgknr
```

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

- [x] New Route / 新的路由
- [x] Follows [Script Standard](https://docs.rsshub.app/joinus/advanced/script-standard) / 跟随 [路由规范](https://docs.rsshub.app/zh/joinus/advanced/script-standard)
- [ ] Documentation / 文档说明
- [ ] Full text / 全文获取
- [x] Use cache / 使用缓存
- [ ] Anti-bot or rate limit / 反爬/频率限制
- [ ] If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
- [x] [Date and time](https://docs.rsshub.app/joinus/advanced/pub-date) / [日期和时间](https://docs.rsshub.app/zh/joinus/advanced/pub-date)
- [x] Parsed / 可以解析
- [x] Correct time zone / 时区正确
- [ ] New package added / 添加了新的包
- [ ] `Puppeteer`

## Note / 说明

* ## Involved Issue / 该 PR 相关 Issue

Close #

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

```routes
/gov/mem/gk/zfxxgkpt/fdzdgknr
```

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

- [x] New Route / 新的路由
- [x] Follows [Script Standard](https://docs.rsshub.app/joinus/advanced/script-standard) / 跟随 [路由规范](https://docs.rsshub.app/zh/joinus/advanced/script-standard)
- [ ] Documentation / 文档说明
- [ ] Full text / 全文获取
- [x] Use cache / 使用缓存
- [ ] Anti-bot or rate limit / 反爬/频率限制
- [ ] If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
- [x] [Date and time](https://docs.rsshub.app/joinus/advanced/pub-date) / [日期和时间](https://docs.rsshub.app/zh/joinus/advanced/pub-date)
- [x] Parsed / 可以解析
- [x] Correct time zone / 时区正确
- [ ] New package added / 添加了新的包
- [ ] `Puppeteer`

## Note / 说明

* ## Involved Issue / 该 PR 相关 Issue

Close #

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

```routes
/gov/mem/gk/zfxxgkpt/fdzdgknr
```

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

- [x] New Route / 新的路由
- [x] Follows [Script Standard](https://docs.rsshub.app/joinus/advanced/script-standard) / 跟随 [路由规范](https://docs.rsshub.app/zh/joinus/advanced/script-standard)
- [ ] Documentation / 文档说明
- [ ] Full text / 全文获取
- [x] Use cache / 使用缓存
- [ ] Anti-bot or rate limit / 反爬/频率限制
- [ ] If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
- [x] [Date and time](https://docs.rsshub.app/joinus/advanced/pub-date) / [日期和时间](https://docs.rsshub.app/zh/joinus/advanced/pub-date)
- [x] Parsed / 可以解析
- [x] Correct time zone / 时区正确
- [ ] New package added / 添加了新的包
- [ ] `Puppeteer`

## Note / 说明

* feat(route): add 中华人民共和国国家应急管理部信息公开

* refactor(route): 重构数据提取部分

- Use the redirected URL instead
- update description
- not select table heading in the selector
- delete try catch block(verified that try-catch is not needed.)

* fix: add namespace

* fix: remove unnecessary template literal

---------
2025-08-30 22:08:50 +08:00
Elijah Lopez c68acb318e feat(route): add eventbrite (#19007) 2025-08-30 08:02:37 +08:00
la3renceandlawrence f9b85f5742 feat(zaobao): replace art template with hono jsx (#19900)
* feat(zaobao): replace art template with hono jsx

* fix(lint): find funciton reference

* refactor(zaobao): remove ctx parameter from parseList calls in handlers

* fix: hk version

* fix: rework interactive-graphics

* fix: sg version

* fix: update pubDate type to Date in parseList return type

* fix: update host to origin in parseList for correct URL fetching

---------

Co-authored-by: lawrence <lijie@yofish.com>
2025-08-30 07:48:42 +08:00
Ethan Shen 660555931c feat(route): add TrendForce News (#19917)
* feat(route): add TrendForce News

* fix: use wordpress api

* fix(template): remove unused description.art file

---------
2025-08-30 02:30:00 +08:00
yeshan333andTony 75efaf732b refactor: update cline blog route to improve article extraction logic (#19928)
* refactor: update blog route to improve article extraction logic

* Update lib/routes/cline/blog.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/cline/blog.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* refactor: simplify article extraction logic in blog route

* refactor: optimize date and author extraction regex in blog route

* fix: update article title extraction in blog route

---------
2025-08-29 23:28:09 +08:00
Stephen Zhou 6304717934 fix(route): remove useless encodeURIComponent (#19931) 2025-08-29 15:50:38 +08:00
Tsung-Han Yu a67b79952f fix(route/natgeo): title selector (#19929)
* fix: title selector

* fix(route/natgeo): remove ads

---------
2025-08-29 05:13:44 +08:00
Tsung-Han Yu d21b8ecf1c feat(route): add bnext (數位時代) (#19894)
* feat: add bnext route

* fix: allow empty to avoid route not found error
2025-08-29 01:00:09 +08:00
AiraNadihandAiraNadih 8ae56a3d70 fix(route/kemono): sort discord messages newest first and fix image urls (#19922)
* fix(route/kemono): sort discord messages newest first and fix image urls

* feat(radar): add radar for kemono discord route

---------

Co-authored-by: AiraNadih <AiraNadih@users.noreply.github.com>
2025-08-28 22:17:14 +08:00
Tony 97913ccaa4 refactor(route/techpowerup): replace got with ofetch (#19918) 2025-08-28 00:50:40 +08:00
Yufan You aae0386d9e fix(routes/lovelive-anime): correct relative img URL resolving (#19916)
This fixes img URL for base url ending with slash (`topics/` or `news/`)
2025-08-27 19:34:39 +08:00
Stephen Zhou 54dae2a0e4 fix(route/gnn): remove empty div, limit concurrency (#19912) 2025-08-27 18:49:52 +08:00
DIYgod 8139a648e3 fix(bilibili): clear cookie cache on CaptchaError to handle site verification issues 2025-08-27 18:25:47 +08:00
DIYgod feee6d18eb feat(route): enhance trending route parameters with detailed options for category and type 2025-08-27 17:15:17 +08:00
DIYgod d889b60e2a refactor(profile): replace puppeteerGet with getPuppeteerPage for improved request handling and remove unused utils file 2025-08-27 17:13:18 +08:00
砖吐筷筷andTony a7a4c2e71e feat(route): add best of js route (#19641)
* feat(route): add best of js route

* Update lib/routes/bestofjs/monthly.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/bestofjs/monthly.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/bestofjs/monthly.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* fix(route): add lang property

* perf(route): add cache

* perf(route): use art-template

* fix(route): del cache

* fix: template syntax

* fix: remove duplicated cache

---------
2025-08-27 03:53:45 +08:00
Yufan You 6807167315 fix(routes/eventernote): fix page iteration, type, radar rule (#19898)
* fix(routes/eventernote): increase page only once per iteration

* fix(routes/eventernote): fix type errors

* feat(routes/eventernote): add one more page for radar

* fix(route/eventernote): refactor event fetching to use ofetch

---------
2025-08-26 03:12:01 +08:00
Ethan Shen 86e1fde5d7 feat(route): add 全球化智库 (#19903) 2025-08-26 02:46:33 +08:00
suhang-onlyandsuhangj 00cf551de4 feat(route): add router for engineering.fyi (#19899)
* feat(route): add router for engineering.fyi

* fix: take the suggested change

---------

Co-authored-by: suhangj <suhangj@enn.cn>
2025-08-25 22:57:28 +08:00
Ethan feaf7ab924 feat(route): the gadget flow (#19896)
* feat(route): the gadget flow

* chore: cache first category

* fix: radar source
2025-08-25 04:22:49 +08:00
8d4c4d6fbc feat(route): secretsanfrancisco.com (#19853)
* feat(route): secretsanfrancisco.com

* style: auto format

* chore: use feed link to fetch list

* refactor: use wp api to fetch content

* chore: rename section to category

* feat: caption

* chore: cr

* chore: cache first category

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: yifan.wang1004 <yifan.wang1004@bytedance.com>
2025-08-25 03:49:56 +08:00
Ethan Shen ed425d65bf feat(route): add CBNData (#19895)
* feat(route): add CBNData

* fix typo

* fix typo

* fix typo
2025-08-24 21:46:20 +08:00
tian051011 45d23f8aeb feat(route): add router for www.elecfans.com (#19881)
* feat(route): add router for www.elecfans.com

* Apply suggestions from code review

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* fix(route): fix www.elecfans.com
1. remove atype default value
2. soft route name changed to '资料'
3. soft route get correct author

---------
2025-08-22 23:07:18 +08:00
Tim 661efcf41c feat(routes): Support fetching by different publication cycle and flitering by votes for Huggingfce papers. (#19858)
* feat(routes): Support fetching by different publication cycle and flitering by votes for Huggingfce papers.

* feat(routes): add comment links

* fix(routes): string concatenation style & remove upvotes info from description

* fix(routes): remove comments
2025-08-22 22:16:30 +08:00
Cason Kervis 5f662c2eec feat(icon): add RSSHub icon in SVG format (#19887) 2025-08-22 21:28:13 +08:00
DIYgod 532619a8c2 fix(tests): update expected values and increase timeout for Puppeteer tests
- Adjusted expected values in error handling tests to reflect updated application behavior.
- Increased timeout for Puppeteer tests from 20 seconds to 45 seconds to accommodate longer loading times.
2025-08-22 17:45:39 +08:00
DIYgod 3bf8f1ea90 fix(xiaohongshu): update guid generation in getUserFeeds function
- Changed the guid assignment to use noteCard.displayTitle instead of constructing a URL, simplifying the logic and improving clarity.
2025-08-22 17:29:53 +08:00
DIYgod 3faaedf213 feat(xiaohongshu): implement Captcha handling in getUser function
- Enhanced the getUser function to check for captcha presence by waiting for the #red-captcha selector.
- Introduced CaptchaError to throw a specific error message when captcha is detected, improving error handling for users.
2025-08-22 15:22:55 +08:00
DIYgod f51da43fb7 feat(errors): add CaptchaError handling and related tests
- Introduced a new CaptchaError class to handle captcha-related errors.
- Updated the dynamic route to throw CaptchaError when encountering specific error codes.
- Added tests for CaptchaError to ensure proper error handling in the API.
2025-08-22 15:17:16 +08:00
DIYgod fb1613c252 refactor(xiaohongshu): enhance puppeteer integration in getUser function
- Updated the getUser function to utilize getPuppeteerPage for improved page handling.
- Simplified request interception logic by moving it into the new function.
- Ensured proper resource management by replacing browser.close() with destory().
2025-08-22 13:19:05 +08:00
Tsung-Han Yu d522b5a8aa feat(route): add hrt tech blog (#19856)
* feat: add AGENTS.md

* feat: add hrt blog route

* refactor: simplify logic

* fix: change folder name to hudsonrivertrading

* refactor: use template literal
2025-08-22 07:34:04 +08:00
Ethan Shen 76ec3f639f feat(route): add 夏柔每日新闻 (#19886) 2025-08-22 02:56:53 +08:00
Ethan Shen 9e48d6993a feat(route): add 6v电影 (#19867)
* feat(route): add 6v电影

* fix typo

* fix: move to 6v123
2025-08-20 23:21:17 +08:00
GhhG123 e80dde7ff8 feat(route): add shu global and xxgk routes (#19875)
* feat(route): add shu global and xxgk routes

* Update xxgk.ts
2025-08-20 22:48:09 +08:00
Tony dfb7835907 feat(route/immich): add cursed knowledge (#19877) 2025-08-20 22:30:27 +08:00
mukelongji 18596a3d2b fix(route/mihoyo/sr): 使用 timezone 指定正确时区 (#19863) 2025-08-19 22:11:07 +08:00
mukelongji 8a6469cd78 fix(route/mihoyo/zzz): 调整到正确的时区 (#19861)
* fix(route/mihoyo/zzz): 在源时间中添加'+0800',调整到正确的时区

* fix(route/mihoyo/zzz): 使用 timezone 指定时区
2025-08-18 21:06:19 +08:00
Ethan Shen 60ba70d139 feat(route): add bookwalker (#19857) 2025-08-18 04:52:40 +08:00
AiraNadihandAiraNadih 4d84e1c14e fix(routes): add Accept header to fetch data for coomer / kemono (#19851)
Co-authored-by: AiraNadih <AiraNadih@users.noreply.github.com>
2025-08-16 21:50:08 +08:00
DIYgod fb6d4f3689 refactor(route/bilibili): optimize username and face caching logic 2025-08-16 16:23:23 +08:00
DIYgod 396bc0c2f2 fix(route/bilibili): use logical OR for author and face fallback 2025-08-16 16:00:36 +08:00
Ethan Shen f45039f70e feat(route): add Gitstar Ranking (#19850)
* feat(route): add Gitstar Ranking

* Apply suggestions from code review

---------
2025-08-16 07:56:04 +08:00
Tsung-Han Yuandgoogle-labs-jules[bot] 1295392fe7 feat(route): add commonhealth route (#19842)
* fix: #7

This commit adds a new RSS route for commonhealth.com.tw.

The route was requested in issue #7. The implementation is based on the existing structure of other routes in the project.

It was discovered during development that a partial implementation of this route already existed in the codebase. This commit completes the implementation by registering the route in the router.

Note: This commit includes some unnecessary files and a disabled pre--commit hook. This is due to a technical issue with the development environment where the pre-commit hook was failing and preventing any file modifications, including the cleanup of these files.

* feat: add commonhealth route

* fix: feed incomplete issue

- setting viewport to 1920x1080 is crucial
- turn anticralwer off as it's not needed

* feat: add thumbnail

* refactor: remove unused code and files

- fix warning and refactor deprecated code
- use logger instead of console.log

* refactor: use api instead of puppeteer

* fix: path issue

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-08-16 00:11:58 +08:00
mukelongji ff3ea5ade3 feat(route): add 绝区零新闻资讯 (#19840) 2025-08-15 22:41:45 +08:00