Commit Graph
8156 Commits
Author SHA1 Message Date
DIYgod 7adddbcb7e fix(bilibili/dynamic): update getImgs function to handle image URLs correctly 2025-09-15 15:48:41 +08:00
Ethan Shen f45bc3402e feat(route): add 国家市场监督管理总局缺陷产品管理中心 (#20048)
* feat(route): add 国家市场监督管理总局缺陷产品管理中心

* fix typo
2025-09-15 04:12:41 +08:00
Tony dd100ccf3d fix(route/pubscholar): add x-finger (#20052) 2025-09-15 03:44:42 +08:00
WilliamGates ea529af659 feat(route): add ACG Vinyl - 黑胶 - 黑胶新闻 (#20047)
* feat(route): Add ACG Vinyl - 黑胶 - 黑胶新闻

* fix(route/acgvinyl): Refactor news route and correct data handling
- Change the `limit` parameter from a path parameter to a query parameter.
- Use `URLSearchParams` to construct the request body for improved safety and readability.
- Fix date parsing by using the correct `item.date` field.
- Remove an unnecessary caching wrapper.
2025-09-14 22:02:20 +08:00
Tony 5665b1eca3 feat(route/juejin): add aicoding (#20044) 2025-09-13 00:04:51 +08:00
Tony 3a219bb308 fix(route/yahoo): remove ads (#20043) 2025-09-12 23:45:40 +08:00
Ethan Shen 525c51d158 fix(route): jbma.net items with correct links (#20035)
* fix(route): jbma.net items with correct links

* fix: use parent query

* fix typo
2025-09-12 21:49:42 +08:00
la3rence a7469fe8a0 feat(route)!: qweather api host change (#20042)
* feat(route)!: qweather api host change

* chore: typo
2025-09-12 18:37:16 +08:00
WilliamGates 35b9fa168e fix(route): uber (#20034)
* fix route /uber/blog

* refactor(route): Simplify JSON parsing and fix typo in description
2025-09-12 10:04:48 +08:00
Tony f52dd2f06b feat(route)!: remove xinhuanet (#20036) 2025-09-12 05:52:23 +08:00
Ethan Shen 5de3576ac9 feat(route): 日本貴金属マーケット協会貴金属レポート (#20026) 2025-09-11 04:13:02 +08:00
Tony 41beee87a3 fix(route/theverge): correct block type handling and improve rendering logic (#20027) 2025-09-11 02:35:48 +08:00
DIYgod 1041cfdcaa feat: hpoi banner-item details 2025-09-10 21:27:02 +08:00
LMarkand爱特未来来了 9d27edbd98 feat(route): 新增南开大学人工智能学院通知路由 (#20006)
* fix nikkei/news

* fix import

* 新增南开大学人工智能学院官通知路由

* 删除pnpm-lock.yaml

* 恢复

* 恢复旧的yaml

* 修改selector

* 修复名称错误

---------

Co-authored-by: 爱特未来来了 <t202410423994673@eduxiji.net>
2025-09-10 00:01:18 +08:00
Stephen Zhou 72a59a1306 fix(route/bilibili): check empty cid (#20015) 2025-09-09 17:50:25 +08:00
Ethan Shen bf6d7296a2 fix(route): 中华人民共和国交通运输部 (#20010) 2025-09-09 12:55:04 +08:00
karasuandTony e20f27e491 feat(route): add sdo/ff14risingstones (#19914)
* feat(route): sdo/ff14risingstones

* fix: add a check for `from_info`

* feat: add category

* fix: raw output

* feat: add author

* fix: remove the duplicate `[RP]`

* docs: add information for the `ua` configuration

* feat: add fc create_time

* feat: add fc create_time

* fix: add fc detail_mask

* fix error message

* Update utils.ts

* Update lib/routes/sdo/ff14risingstones/strats.ts

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

* Update lib/routes/sdo/ff14risingstones/posts.ts
2025-09-09 06:40:09 +08:00
Rifle-Rex e3119f6207 feat(route): szse/disclosure/listed/notice Add stock code and date filtering (#19924)
* szse/disclosure/listed/notice路由新增指定股票和公告日期功能

* fix misspelling

* fixed route.example and route.parameters
2025-09-09 02:35:11 +08:00
dependabot[bot] 802cbf95d2 chore(deps-dev): bump eslint-plugin-unicorn from 60.0.0 to 61.0.2 (#19998)
* chore(deps-dev): bump eslint-plugin-unicorn from 60.0.0 to 61.0.1

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 60.0.0 to 61.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v60.0.0...v61.0.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-version: 61.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* refactor: replace `replace(/regex/g)` with replaceAll

* refactor: replace sort() with toSorted() for immutability in various routes and utilities

* refactor: fix unicorn/prefer-array-find

* refactor: fix unicorn/prefer-at

* refactor: add unicorn/no-array-sort rule to ESLint configuration

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 23:03:48 +08:00
dependabot[bot] ad1bfc539c chore(deps): bump uuid from 11.1.0 to 12.0.0 (#20003)
* chore(deps): bump uuid from 11.1.0 to 12.0.0

Bumps [uuid](https://github.com/uuidjs/uuid) from 11.1.0 to 12.0.0.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v11.1.0...v12.0.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-version: 12.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(util): replace uuid import with crypto.randomUUID for UUID generation

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 21:30:21 +08:00
Tsuyumi25 20571c1479 fix(route/ehentai): update thumbnail fetching and parsing logic (#19996) 2025-09-08 18:59:33 +08:00
la3rence 79cd6c0397 fix(vercel): sync export default hono app (#19989) 2025-09-08 05:28:46 +08:00
WilliamGates 355d473ca9 fix(route): radio-canada (#19987)
* fix(radio-canada): Repair description fetching after site update
  The previous method for fetching the item description broke due to a change in the target website's format.
  This commit resolves the issue by extracting the description directly from the main HTML content of the article page. This restores functionality to the feed and provides a more robust parsing method.

* refactor(radio-canada): Parse article content from internal JSON state
  This change refactors the content fetching logic to parse a JSON object (`window._rcState_`) from the page. This approach allows for the full reconstruction of the article, including the header image, primer text, and all body attachments (images), by replacing placeholders in the HTML with the correct media.

* fix(radio-canada): Improve content parsing with fallback mechanism
    Adds a fallback to the previous HTML scraping method in case the JSON state object is not found. This ensures greater resilience against site changes and improves the chances of successfully retrieving content.

* refactor(radio-canada): Extract content parsing logic into a helper function
  To address a "Complex Method" warning from CodeFactor, the logic for parsing the article description from the JSON state has been extracted into a dedicated `parseDescriptionFromState` function.
  This change improves code readability and maintainability by simplifying the main handler and isolating the content parsing logic. The `if/else` block was also converted to a ternary operator for conciseness.

* fix(radio-canada): Update image URL parsing to remove width placeholder for header and body attachments

---------
2025-09-08 05:16:54 +08:00
22200f2fc0 fix(route): verge parse error (#19930)
* 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

* fix(route): verge parse error

* style: auto format

* chore: cr

* fix: ImageSliderBlockType

* style: auto format

* fix: unsupport type

* style: auto format

* fix: unsupport type

* Update lib/routes/theverge/index.ts

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

* chore: cr

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: yifan.wang1004 <yifan.wang1004@bytedance.com>
2025-09-06 19:55:56 +08:00
DIYgod 69047f4fa2 feat(route/bilibili): add support for video cover images in dynamic route 2025-09-06 13:45:09 +08:00
github-actions[bot] bd673eb979 style: auto format 2025-09-05 23:42:24 +00:00
Tsung-Han Yu 4e08741300 feat(route): add coolidge (#19984)
* feat: add coolidge film guide

* feat: add coolidge news route

* refactor: use kebab case

* fix: change category
2025-09-05 23:40:45 +00:00
xizeyoupan f44a68847a fix(route): coolapk invalid url (#19957)
* fix:coolapk

* refactor: remove commented debug log from parseDynamic function

---------
2025-09-05 22:18:22 +08:00
Neko AriaandNekoAria 10cacfdf01 fix(route/weibo): add optional chaining for large.geo properties (#19973)
* fix(route/weibo): add optional chaining for `large.geo` properties

* fix(route/weibo): add optional chaining for `large.geo` properties

* fix(route/weibo): add optional chaining for `large.geo` properties

---------

Co-authored-by: NekoAria <NekoAria@users.noreply.github.com>
2025-09-05 21:44:20 +08:00
Ethan Shen 2a85800c84 feat(route): add 玩物志 (#19953)
* feat(route): add 玩物志

* fix typo
2025-09-05 19:20:29 +08:00
Ethan Shen 3647993b68 fix(route): BullionVault Gold News (#19962) 2025-09-04 13:28:02 +08:00
Stephen Zhou d8dd83c266 Revert "fix(route): remove useless encodeURIComponent (#19931)" (#19965)
This reverts commit 6304717934.
2025-09-04 11:52:02 +08:00
Thomas 2145a1dd4d fix(route/threads): Handle getting a number back from the cache (#19958) 2025-09-04 06:45:36 +08:00
DIYgod eca3b714ea feat(route/bilibili): implement subtitle caching and rate limiting for video subtitles
- Added a rate limiter for subtitle requests to prevent exceeding API limits.
- Integrated subtitle fetching into the ranking and weekly recommendation routes, allowing for optional subtitle attachments based on configuration.
- Updated item mapping to include subtitles when available.
2025-09-01 21:38:57 +08:00
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