Commit Graph
13789 Commits
Author SHA1 Message Date
SettingDust 88667c2b15 fix(modrinth): switch to ofetch since it's not suppor got.json() (#15166) 2024-04-09 21:32:45 +08:00
Andvari f14ae66fa2 fix(route/discourse): Replace got with ofetch. (#15169) 2024-04-09 21:14:12 +08:00
LMark 4bd6ab2ed3 fix(route): 日本経済新聞News (#15170)
* fix nikkei/news

* fix import
2024-04-09 20:54:52 +08:00
dependabot[bot] e8ab6beadf chore(deps-dev): bump @types/node from 20.12.4 to 20.12.6 (#15168)
* chore(deps-dev): bump @types/node from 20.12.4 to 20.12.6

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.12.4 to 20.12.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 20:29:28 +08:00
dependabot[bot] 6ff4ff86ad chore(deps-dev): bump @typescript-eslint/eslint-plugin from 7.5.0 to 7.6.0 (#15165)
* chore(deps-dev): bump @typescript-eslint/eslint-plugin

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.5.0 to 7.6.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.6.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 19:54:38 +08:00
dependabot[bot] 6d27b9f9b5 chore(deps): bump undici from 6.11.1 to 6.12.0 (#15159)
* chore(deps): bump undici from 6.11.1 to 6.12.0

Bumps [undici](https://github.com/nodejs/undici) from 6.11.1 to 6.12.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.11.1...v6.12.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 09:49:28 +00:00
dependabot[bot] 95b9715550 chore(deps-dev): bump eslint-plugin-n from 16.6.2 to 17.0.0 (#15163)
* chore(deps-dev): bump eslint-plugin-n from 16.6.2 to 17.0.0

Bumps [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) from 16.6.2 to 17.0.0.
- [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases)
- [Changelog](https://github.com/eslint-community/eslint-plugin-n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint-community/eslint-plugin-n/compare/16.6.2...v17.0.0)

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

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

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 09:32:17 +00:00
dependabot[bot] 7a991cc354 chore(deps): bump @hono/zod-openapi from 0.9.10 to 0.10.0 (#15160)
* chore(deps): bump @hono/zod-openapi from 0.9.10 to 0.10.0

Bumps [@hono/zod-openapi](https://github.com/honojs/middleware) from 0.9.10 to 0.10.0.
- [Release notes](https://github.com/honojs/middleware/releases)
- [Commits](https://github.com/honojs/middleware/compare/@hono/zod-openapi@0.9.10...@hono/zod-openapi@0.10.0)

---
updated-dependencies:
- dependency-name: "@hono/zod-openapi"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 09:16:50 +00:00
dependabot[bot] 6a76922f82 chore(deps-dev): bump @typescript-eslint/parser from 7.5.0 to 7.6.0 (#15162)
* chore(deps-dev): bump @typescript-eslint/parser from 7.5.0 to 7.6.0

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.5.0 to 7.6.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.6.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 17:08:24 +08:00
dependabot[bot] 2e1a28f8f2 chore(deps): bump @tonyrl/rand-user-agent from 2.0.57 to 2.0.58 (#15158)
* chore(deps): bump @tonyrl/rand-user-agent from 2.0.57 to 2.0.58

Bumps [@tonyrl/rand-user-agent](https://github.com/TonyRL/rand-user-agent) from 2.0.57 to 2.0.58.
- [Release notes](https://github.com/TonyRL/rand-user-agent/releases)
- [Commits](https://github.com/TonyRL/rand-user-agent/compare/v2.0.57...v2.0.58)

---
updated-dependencies:
- dependency-name: "@tonyrl/rand-user-agent"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 17:07:54 +08:00
dependabot[bot] bebe3541dd chore(deps-dev): bump @types/markdown-it from 13.0.7 to 14.0.0 (#15164)
* chore(deps-dev): bump @types/markdown-it from 13.0.7 to 14.0.0

Bumps [@types/markdown-it](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/markdown-it) from 13.0.7 to 14.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/markdown-it)

---
updated-dependencies:
- dependency-name: "@types/markdown-it"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 09:01:19 +00:00
dependabot[bot] b860ba081f chore(deps): bump peaceiris/actions-gh-pages from 3 to 4 (#15157)
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 08:59:09 +00:00
Andvari 96e29c143f fix(route/reuters): Replace got with ofetch. (#15155)
* fix(route/reuters): Replace `got` with `ofetch`.

* .
2024-04-09 01:58:38 +08:00
Mean 83fb4280a1 feat: buaa/sme适配新版路由规范 (#15154) 2024-04-08 15:38:04 +08:00
Shima Rin 4e7f0c187e fix(route): fix xianbao typo and parse (#15148) 2024-04-08 14:29:55 +08:00
lyqluisandTony 8757a93fa9 fix(route): /gov/moa/:suburl{.+} (#15012)
* fix(route): /gov/moa/:suburl{.+}

* fix(route): replace with endsWith & cache.tryGet

* Update lib/routes/gov/moa/moa.ts

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

* Update lib/routes/gov/moa/moa.ts

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

* Update lib/routes/gov/moa/moa.ts

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

* fix: live news broadcast page & govpublic channel

* fix: correct spelling mistakes

---------
2024-04-08 03:18:43 +08:00
Ethan Shen dd58748c7e feat(route): add 中伦律师事务所中伦研究专业文章 (#15136)
* feat(route): add 中伦律师事务所中伦研究专业文章

* fix node path

* fix router
2024-04-08 02:13:37 +08:00
Tony b3a7186a1e docs: fix author github id
#1911, [skip ci]
2024-04-07 22:21:23 +08:00
DIYgod d7c23dcff5 fix(bilibili): vsearch, close #15105 2024-04-07 22:15:17 +08:00
Luna Mikaelsdóttir b26a7044f7 feat(route): add atptour (#15006)
* feat(route): add atptour

* fix: radix

* fix: remove puppeteer
2024-04-07 21:19:47 +08:00
Felix HsuandTony ccbe399002 fix(route): the Bloomberg RSS doesn't work after using the new ofetch as the 'got' lib (#15112)
* Fix the Bloomberg RSS by using the old/deprecated 'got' because the 'redirectUrls' feature is not supported in the new 'got' library.

* Use the redirected prop in RawResponse

* Use the ofetch.raw

* Update lib/routes/bloomberg/index.ts

Reformat the desc of Route

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

---------
2024-04-07 19:35:01 +08:00
DIYgod e7c233b1df Merge pull request #15141 from DIYgod/feature/errors
feat: better error message
2024-04-07 12:12:16 +01:00
DIYgod c145a72590 test: add invalid-parameter-error and config-not-found-error 2024-04-07 17:46:46 +08:00
DIYgod 79fcce2729 feat: add ConfigNotFoundError and InvalidParameterError 2024-04-07 17:36:18 +08:00
Shima RinandTony 7fad84d9f6 feat(route): add 线报酷 (#15144)
* feat(route): add 线报酷

* Update lib/routes/xianbao/index.ts

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

* Update lib/routes/xianbao/index.ts

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

* Update lib/routes/xianbao/index.ts

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

---------
2024-04-07 17:20:45 +08:00
DIYgod cef1ed1eb6 refactor: error types 2024-04-07 16:37:54 +08:00
lyqluis 2b59c835c4 fix(route): xueqiu user (#15140) 2024-04-07 16:35:07 +08:00
DIYgod efc2b2f5a4 test: fix parameter test text 2024-04-07 14:06:32 +08:00
DIYgod 2a6d5ac9f9 feat: better error message 2024-04-07 13:07:09 +08:00
cnkmmkandpull[bot] cb69f5032c feat(route): add 51cto (#14958)
* feat(route): add 51cto

增加了51cto的推荐列表

* Update rss.ts

* Update rss.ts

* fix(route): fix 51cto

* Update recommend.ts

调整 51cto,使用API来生成RSS。

* Update recommend.ts

* fix: request signing

---------

Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
2024-04-07 06:23:13 +08:00
Tony 4296911775 fix(route): youtube utils (#15135) 2024-04-06 21:21:06 +08:00
MarisaandTony 98e493921e fix(route): huanqiu (#15107) (#15115)
* fix(route): huanqiu (#15107)

* fix(route): huanqiu (fix import)

* Update lib/routes/huanqiu/index.ts

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

* Update lib/routes/huanqiu/index.ts

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

* Update lib/routes/huanqiu/index.ts

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

---------
2024-04-06 19:31:53 +08:00
Andvari db6eb1c96c fix(route/apnews): Refine link selector. (#15131) 2024-04-06 18:54:30 +08:00
Bin Wang 54cc62baa4 fix(core): add icon and logo back to atom feed (#15132)
icon and logo field are missing from atom feed after it's migrated to
tsx template. This PR adds them back.
2024-04-06 06:30:36 +00:00
dependabot[bot] 615a2a9c3b chore(deps): bump hono from 4.2.1 to 4.2.2 (#15125)
* chore(deps): bump hono from 4.2.1 to 4.2.2

Bumps [hono](https://github.com/honojs/hono) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: hono
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 22:23:42 +00:00
Tony d9712b7fcb fix(route): line today publisher (#15126) 2024-04-06 06:09:02 +08:00
Tony 4eec3f6b2b fix(route): rsshub new docs link (#15123) 2024-04-06 01:28:55 +08:00
github-actions[bot] c943f67640 style: auto format 2024-04-05 16:56:45 +00:00
windytiany b2f3bcc5c3 fix(route): Kemono (#15099)
* Update index.ts

* Create source.art

* Update index.ts

* Fix index.ts

* Fix source.art

* Update index.ts

* Update index.ts
2024-04-06 00:55:17 +08:00
Tony 06312b195b fix: types in RadarItem 2024-04-06 00:42:21 +08:00
61d8079e6f feat(route): Add Shopify App store 搜索、App reviews (#14819)
* feat(route): 添加 Shopify App store 搜索、App reviews

* feat: remove unused var `index`

* Update lib/routes/shopify/apps/[handle].reviews.ts

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

* chore: auto build

* style: auto format

* fix: cr

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-06 00:35:38 +08:00
LyleLeeandTony c454200876 feat(route): Add 国家哲学社会科学文献中心 (#14737)
* feat(route) Add 国家哲学社会科学文献中心

* Adapt to new namespace

* Update lib/routes/ncpssd/newlist.ts

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

* Update lib/routes/ncpssd/newlist.ts

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

* Update lib/routes/ncpssd/newlist.ts

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

* Update lib/routes/ncpssd/newlist.ts

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

* Update lib/routes/ncpssd/newlist.ts

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

* fix: cr

---------
2024-04-06 00:07:11 +08:00
Honahuku 9a41023746 feat(route): add watasuke.net (#14629)
* feat: add watasuke.net

* feat: add mdx docs

* feat: get data from og:description

* feat: add feed items

* refactor: migrate to v3

---------
2024-04-05 23:50:23 +08:00
Bin Wang 18ca90926f feat(route): add icon and logo to Bilibili dynamic (#15122)
Similar as #9353, but also add avatars as icon and logo
2024-04-05 23:25:19 +08:00
zvrrandzvrr c9910b7d79 feat(route): add dangyuanwang (#14535)
* feat(route): add dangyuanwang

* fiexd dangyuanwang doc example path

* fiexd dangyuanwang maintainer info

* feat(route): update dangyuanwang doc

* refactor: migrate to v3

---------

Co-authored-by: zvrr <zvrr@x.com>
2024-04-05 23:14:39 +08:00
Bin Wang 90e2e0263d fix(core): fix interaction fields in atom feeds (#15121)
In #9355, interaction fields are introduced to atom feeds to give RSS
readers more information. But it has been removed after the code is
refactored to use tsx templates. This PR adds them back.
2024-04-05 22:56:26 +08:00
Urabartin 860d7ad45f fix(route): jpxgmn (#15118) 2024-04-05 21:17:00 +08:00
github-actions[bot] 0e11352797 style: auto format 2024-04-05 11:29:19 +00:00
zcw159357andTony f78ee86792 fix(route): 迁移看雪路由 (#15064)
* 迁移看雪路由

* 迁移看雪路由

* Update lib/routes/kanxue/topic.ts

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

* 迁移看雪路由

---------
2024-04-05 19:27:42 +08:00
xtex 889c6d5fa8 feat(routes): Add more routes related to Minecraft (#14942)
* feat(routes): Add minecraft/blockedservers

* feat(routes): Add java-runtime

* fix(routes): Fix minecraft blockedservers

* style(routes): Commit suggestions from TonyRL

Update lib/routes/minecraft/blockedservers.ts

Update lib/routes/minecraft/java-runtime.ts

Update lib/routes/minecraft/blockedservers.ts

Update lib/routes/minecraft/java-runtime.ts

Commit suggestions

Update lib/routes/minecraft/java-runtime.ts

---------
2024-04-05 19:23:32 +08:00