Commit Graph
197 Commits
Author SHA1 Message Date
github-actions[bot] edfac9f24c style: auto format 2025-11-27 05:54:33 +00:00
github-actions[bot] 838eb3c7ff style: auto format 2025-11-27 05:49:33 +00:00
github-actions[bot] a28890a135 style: auto format 2025-11-27 02:55:46 +00:00
Ethan Shen 33ff12b8f7 feat(route): add 国家核安全局 (#20376)
* feat(route): add 国家核安全局

* feat: add docs

* fix typo
2025-10-28 02:40:33 +08:00
dependabot[bot] 52c18b7f25 chore(deps-dev): bump eslint-plugin-unicorn from 61.0.2 to 62.0.0 (#20381)
* chore(deps-dev): bump eslint-plugin-unicorn from 61.0.2 to 62.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 61.0.2 to 62.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v61.0.2...v62.0.0)

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

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

* style: fix unicorn/prefer-string-raw

* style: fix unicorn/no-useless-collection-argument

* style: fix unicorn/no-immediate-mutation

* style: fix unicorn/no-immediate-mutation

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-28 01:26:56 +08:00
Tony f8da14e119 docs: fix markdown custom containers syntax 2025-09-28 03:34:52 +08:00
Ethan Shen bf6d7296a2 fix(route): 中华人民共和国交通运输部 (#20010) 2025-09-09 12:55:04 +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
github-actions[bot] 25f8cd5e63 style: auto format 2025-08-14 02:55:48 +00:00
lonn f455f542ab feat(route): add 深圳市罗湖区人民政府 (#19740) 2025-08-07 21:10:07 +08:00
Tony 857d5989c1 feat(utils/puppeteer): replace puppeteer-extra-plugin-stealth with rebrowser (#19506)
* feat: use rebrowser

* fix: remove rebrowser-puppeteer-core

* fix: chrome not found

* fix: replace remove-infobar with disable-blink-features

remove-infobar was removed since M76 https://github.com/puppeteer/puppeteer/issues/1765

* feat: remove outdated stealth plugin

* fix: remove puppeteer non stealth test
2025-07-01 04:38:05 +08:00
ueiu 4b20aa82d6 fix(route/sydwgkzp): 修复 重庆市人社局事业单位公开招聘 今年数据抓取异常 (#19479) 2025-06-28 03:23:10 +08:00
Tony 038848a73b feat(gov/customs): add latest docs (#19289)
* feat(gov/customs): add latest docs

* feat(gov/customs): add language property to response
2025-06-06 05:34:52 +08:00
zytomorrow 6b0c1abf5c fix(route): /gov/sichuan/deyang/govpublicinfo/绵竹市 (#19246) 2025-06-01 22:11:59 +08:00
Tony 8faec7fbfd refactor: fix Element type import 2025-05-07 04:18:23 +08:00
Tony a5e2e295dc refactor: fix all get to toArray (#19000)
* refactor: fix all get

* fix(utils/common-config): charset case compare

* Revert "fix(utils/common-config): charset case compare"

This reverts commit 3c1880f2fad53ad2cafddcee7741390fd46fa3d2.

* fix: nga

* fix: notateslaapp

* fix: ps

* fix: xjtu

* fix: enforce error on restricted syntax for get calls

* fix: eslint

* fix: more eslint
2025-05-04 05:24:53 +08:00
Tony f19a725157 refactor: fix all no array reduce (#18973)
* refactor: no-array-reduce cleanup

* refactor: keep

* refactor: nhk

* refactor: rattibha

* fix: cctv

* fix: jiemian

* refactor: juejin

* refactor: kpopping

* refactor: yoasobi-music

* refactor: mycard520

* refactor: newrank

* refactor: sse

* refactor: zhihu

* feat!: remove trending

https://github.com/huqi-pr/trending-in-one is archived and no longer being updated.
https://github.com/huqi-pr/trending-in-one/commit/2ef4cd236fcccb908be7907d5ac9aab6f1f4a188

* refactor: sspai

* refactor: sysu

* refactor: nikkei

* refactor: utils

* refactor: mydrivers

* refactor: scmp

* refactor: gov/moa

* refactor: bloomberg

* refactor: manhuagui

* refactor: twitter
2025-04-30 04:16:32 +08:00
Tony 03969f3867 refactor: fix lint issue (#18963)
* fix: unicorn/no-empty-file

* fix: unicorn/prefer-node-protocol

* fix: unicorn/prefer-number-properties

* fix: unicorn/consistent-destructuring

* fix: unicorn/no-array-callback-reference

* fix: unicorn/new-for-builtins

* fix: set checkNaN to false in unicorn/prefer-number-properties

* fix: unicorn/prefer-string-slice

* fix: update eslint ignore
2025-04-29 03:00:16 +08:00
Tony df320988d0 refactor: replace tiny-async-pool with p-map (#18928)
* refactor: replace tiny-async-pool with p-map

* fix: use original concurrency
2025-04-23 21:02:10 +08:00
DIYgod 83e701b592 feat: compile ts through tsdown (#18908)
* feat: build ts via tsdown

* feat: exec tsdown

* fix

* fix

* fix

* feat: use tsdown shims

* chore: run rolldown lifecycle script

* fix: use shims

---------
2025-04-22 22:29:11 +08:00
Tony bb5bef5e9b fix(route/nea): remove vibe types 2025-04-17 01:33:56 +08:00
Ethan Shen 14d4d69bf5 fix(route/nea): incomplete description (#18858) 2025-04-16 04:54:24 +08:00
pseudoyu 87a679e265 fix(route/nea): fetch ghs items logic 2025-04-15 17:03:04 +08:00
la3rence f20d5b3620 feat(route): tariff docs by chinese gov (#18809)
* feat(route): tariff docs by chinese gov

* chore: fix example path
2025-04-09 23:05:45 -07:00
Mervyn Zhan 64a9bfe47f fix: #18771 gov stats description error (#18773)
* fix(route/gov/stats): corrected the `description` and `author`

fix #18771

* docs(route/gov/stats): correct the example path

* refactor(route/gov/stats): fetch the item.author directly

* refactor(route/gov/stats): remove the always false condition
2025-04-05 09:21:55 -07:00
Majimay a4935ea1ac feat(route): add 杭州市人民政府 (#18208)
* feat(route): add 杭州市人民政府

* change maintainer username

* perf: drop unnecessary requests

* feat: use art-template to format content from 浙江政务服务网

* fix: remove custom UA

* fix: puppeteer timeout due to unnecessary  page request, turn off page interception

* perf: reduce loading time & fix(puppeteer): exceed waitForSelector timeout
2025-04-01 19:09:46 +08:00
pseudoyu ae2cd7c378 fix(route/cbirc): domain change and use ofetch 2025-03-23 10:38:03 +08:00
李浩宇andTony 966325349a fix: route '/gov/tianjin/tjftz-notice/channelId', adapt to individual pages (#18504)
* feat: 宁波市人力资源保障局-某分类-公告列表

* feat: 宁波国资委-某分类-公告列表

* Update lib/routes/gov/zj/ningborsjnotice.ts

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

* Update lib/routes/gov/zj/ningbogzw-notice.ts

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

* Update lib/routes/gov/zj/ningbogzw-notice.ts

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

* Update lib/routes/gov/zj/ningborsjnotice.ts

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

* fix: description content indent update

* fix: route ‘/gov/zj/search/:websiteid?/:word/:cateid?’ result.item deduplication

* fix: route ‘/gov/zj/search/:websiteid?/:word/:cateid?’ result.item deduplication

* feat: add route ‘/gov/tianjin/tjftz-notice/:channelId'

* feat: add route ‘/gov/tianjin/tjrcgzw-notice/:cate/:subCate'

* Update lib/routes/gov/tianjin/tjrcgzw.ts

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

* Update lib/routes/gov/tianjin/tjrcgzw.ts

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

* fix: fix lint issues

* fix: route '/tianjin/tjftz-notice/:channelId' Adapt to individual pages

---------
2025-03-08 12:44:30 +08:00
李浩宇andTony a70bebd6ea feat: add route ‘/gov/tianjin/tjftz-notice/channelId' 、‘/gov/tianjin/tjrcgzw-notice/:cate/:subCate' (#18434)
* feat: 宁波市人力资源保障局-某分类-公告列表

* feat: 宁波国资委-某分类-公告列表

* Update lib/routes/gov/zj/ningborsjnotice.ts

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

* Update lib/routes/gov/zj/ningbogzw-notice.ts

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

* Update lib/routes/gov/zj/ningbogzw-notice.ts

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

* Update lib/routes/gov/zj/ningborsjnotice.ts

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

* fix: description content indent update

* fix: route ‘/gov/zj/search/:websiteid?/:word/:cateid?’ result.item deduplication

* fix: route ‘/gov/zj/search/:websiteid?/:word/:cateid?’ result.item deduplication

* feat: add route ‘/gov/tianjin/tjftz-notice/:channelId'

* feat: add route ‘/gov/tianjin/tjrcgzw-notice/:cate/:subCate'

* Update lib/routes/gov/tianjin/tjrcgzw.ts

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

* Update lib/routes/gov/tianjin/tjrcgzw.ts

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

* fix: fix lint issues

---------
2025-02-25 16:07:07 +08:00
Ethan Shen 32c6d012ed feat(route): add 中华人民共和国农业农村部国际合作司 (#18435)
* feat(route): add 中华人民共和国农业农村部国际合作司

* fix typo
2025-02-24 11:51:30 +08:00
Tony 674b32262a fix: ensure proper browser closure (#18404) 2025-02-20 04:04:46 +08:00
dependabot[bot]andTony 8a0efc0ba2 chore(deps-dev): bump eslint-plugin-unicorn from 56.0.1 to 57.0.0 (#18392)
* chore(deps-dev): bump eslint-plugin-unicorn from 56.0.1 to 57.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 56.0.1 to 57.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v56.0.1...v57.0.0)

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

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

* chore: remove unicorn plugin

* style: fix eslint issues

* style: fix more issues

* chore: flat config unicorn

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2025-02-19 05:10:11 +08:00
Tony 4fa33716c1 docs: remove indent (#18247)
* docs: remove indent

* docs: remove more indent

* docs: remove h5 indent

* docs: remove h4 indent

* docs: remove details indent
2025-01-31 22:17:58 +08:00
Tony 04a3e88448 docs: fix admonitions syntax (#18018) 2025-01-01 15:52:40 +08:00
Bubu d6fd26238e feat(route): 添加 海南省工业和信息化厅-通知公告 (#17923)
* feat(route): 添加 海南省工业和信息化厅-通知公告

* fix: add namespace

---------
2024-12-21 03:38:01 +08:00
Tony 6b6837567c fix: radar rules (#17639)
- remove search parameters in source
- maintain the same hostname in `source` of each radar rule
2024-11-20 14:52:02 +08:00
pseudoyu 0a42f88de7 feat(route): add lang field in route namespace 2024-11-01 22:09:31 +07:00
tourist 3b73b60402 style: format docs of RSSHub (#17306) 2024-10-25 04:07:53 -07:00
Tony f20428cde6 fix(route): customs (#17204)
* fix(route): customs

* docs: add back warning
2024-10-21 05:06:30 +08:00
Ethan Shen 9964bbbfb1 fix(route): 中华人民共和国国家发展和改革委员会价格监测中心 (#17201) 2024-10-21 01:41:26 +08:00
Himingway 2fee4250fb feat(route): add route for 浦东新区-政务公开 (#17115)
* newly add 浦东新区-政务公开 route

* newly add 浦东新区-政务公开 route

* Update zwgk.ts

* newly add 浦东新区-政务公开 route update

* newly add 浦东新区-政务公开 route update

* newly add 浦东新区-政务公开 route update

* newly add 浦东新区-政务公开 route update

* Update lib/routes/gov/pudong/zwgk.ts

---------
2024-10-20 00:27:11 +08:00
李浩宇andTony f8d7e71f2b fix: route ‘/gov/zj/search/:websiteid?/:word/:cateid?’ result.item deduplication (#16730)
* feat: 宁波市人力资源保障局-某分类-公告列表

* feat: 宁波国资委-某分类-公告列表

* Update lib/routes/gov/zj/ningborsjnotice.ts

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

* Update lib/routes/gov/zj/ningbogzw-notice.ts

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

* Update lib/routes/gov/zj/ningbogzw-notice.ts

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

* Update lib/routes/gov/zj/ningborsjnotice.ts

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

* fix: description content indent update

* fix: route ‘/gov/zj/search/:websiteid?/:word/:cateid?’ result.item deduplication

* fix: route ‘/gov/zj/search/:websiteid?/:word/:cateid?’ result.item deduplication

---------
2024-10-17 22:59:21 +08:00
Ethan Shen 3a64e9eb91 feat(route): add 中华人民共和国国家发展和改革委员会政府信息公开 (#16850)
* feat(route): add 中华人民共和国国家发展和改革委员会政府信息公开

* update to existing route

* feat(route): add 中华人民共和国国家发展和改革委员会政府信息公开
2024-10-09 00:21:50 +08:00
ueiu 0a4dc198d9 fix(route): 修复中国证券监督管理委员会详情没有链接到正确页面 (#16988) 2024-10-02 16:42:11 -07:00
Ethan Shen 015ced7cf8 feat(route): add 中国证券监督管理委员会政府信息公开 (#16982) 2024-10-02 08:45:16 +08:00
Ethan Shen 2bc358296e feat(route): add 中华人民共和国农业农村部生猪专题重要政策 (#16961) 2024-09-30 01:18:37 +08:00
et al. 0721cff874 feat(route): add route of '国家发展改革委 - 政府信息公开' (#16777)
* add route of '国家发展改革委 - 政府信息公开'

* fix: migrate old routes

* fix: path

---------
2024-09-19 21:50:48 +08:00
et al. cece722677 feat(route): '国务院会议' (#16768)
* Add route of '国务院会议'

* Moved the route to gov folder

* modified route path and example to fix a route not found error

* fix: combine with existing route

* fix: filter empty category

---------
2024-09-17 23:42:46 +08:00
Ethan Shen 8f073e0ab4 feat(route): add 国家金融监督管理总局 (#16607) 2024-09-03 01:39:25 +08:00
Ethan Shen 0ca4457bce fix(route): 国家粮食和物资储备局能源储备 (#16512) 2024-08-23 00:12:50 +08:00