Commit Graph
185 Commits
Author SHA1 Message Date
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
Ethan Shen c46e5a424f feat(route): add 国家粮食和物资储备局 (#16495) 2024-08-21 11:01:46 +08:00
MajexH 9b089d26ee fix(route/sydwgkzp): sync with the new website structure to fix 503 (#16465)
* fix: sync with the new website structure

* lint: fix lint error

* Update lib/routes/gov/chongqing/sydwgkzp.ts

fix: use one class selector

---------
2024-08-17 22:29:47 +08:00
李浩宇 ff487f328c feat(route): add route /gov/zj/ningborsjnotice/:colId?,/gov/zj/ningbogzw-notice/:colId? (#16404)
* feat: 宁波市人力资源保障局-某分类-公告列表

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

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

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

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

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

* fix: description content indent update

---------
2024-08-11 12:14:04 +08:00
Tony c1071356f6 docs: fix /gov/stats/* description 2024-07-02 00:51:11 +08:00
github-actions[bot] c1d7abaa2e style: auto format 2024-06-16 07:21:21 +00:00
Nya Candy cce3bdb4fe fix(route): 使用 ofetch() 替换一些 got().json() (#15780)
* chore: some massive adoption from got().json() to ofetch()

Not sure if everything works fine (some may still have problems other than fakeGot & json issues), but this might have some help.

BTW maybe we can start "The Migration" project to update some outdated routes to new format 🤔

* fix: some other issues

* fix: query

* fix: luogu user blog & modb topic

* fix: modb topic response

* fix: query options in freebuf

---------
2024-06-01 01:10:15 +08:00
Ethan Shen 9b3f9766dc fix(route): restore /gov/shanghai (#15781) 2024-06-01 00:16:39 +08:00
Ethan Shen c7319828d9 feat(route): add 上海市发展和改革委员会 (#15759) 2024-05-30 03:34:56 +08:00
Wei Zhu 62aa54e6c9 fix(route): fix gov/immiau/news (#15746) 2024-05-28 22:05:09 +08:00
github-actions[bot] 9af421ae2f style: auto format 2024-05-10 14:46:15 +00:00
Ethan Shen 3cb4b741ae fix(route): 安徽省科学技术厅 (#15402)
* fix(route): 安徽省科学技术厅

* fix typo

* Update lib/routes/gov/ah/kjt.ts

---------
2024-04-30 01:28:55 +08:00
github-actions[bot] c68e2b4af8 style: auto format 2024-04-25 12:19:49 +00:00