Commit Graph
14516 Commits
Author SHA1 Message Date
lyqluisandluis 6a89b50137 fix(route): /163/dy2/:id, 网易号 (#15081)
* fix(route): /163/dy2/:id, remove iconv module, use data from got directly instead of decoding data with content-type

* update /163/dy.ts

---------

Co-authored-by: luis <sherlock563768884@qq.com>
2024-04-03 21:14:07 +08:00
LMark d748a8c92e feat(route): add aqicn.org (#15029)
* add qaicn

* fix some warnings

* fix isNaN error

* update api.ts
2024-04-03 17:18:39 +08:00
Ernest Dong 71fa40962c fix(route): 知乎时间线 (#9485) (#15063)
* fix(route): 知乎时间线 (#9485)

* fix(知乎): use query parameter limit with default 15
2024-04-03 12:05:13 +08:00
CaoMeiYouRen b93dfabe1a fix(route): 修复 全国气象预警 为空的问题 (#15078) 2024-04-03 12:03:32 +08:00
karasuandTony a392f0f8df fix(route): Mox.moe (#15038)
* fix(route): Mox.moe

* add description without cookie

* adjust the order

* Update lib/routes/mox/index.ts

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

---------
2024-04-03 11:18:01 +08:00
Changandgithub-actions[bot] f57bc4d71e feat(route): add Doraemon Channel (#15033)
* Add Doraemon Channel

* style: auto format

* Use API instead

* Get next build id from web page

* Use API instead to get content

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-03 02:24:28 +00:00
dependabot[bot] e27fda5fe6 chore(deps-dev): bump @types/node from 20.12.2 to 20.12.3 (#15071)
* chore(deps-dev): bump @types/node from 20.12.2 to 20.12.3

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.12.2 to 20.12.3.
- [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-03 02:23:49 +00:00
dependabot[bot] e930552ddf chore(deps): bump hono from 4.1.7 to 4.2.0 (#15067)
* chore(deps): bump hono from 4.1.7 to 4.2.0

Bumps [hono](https://github.com/honojs/hono) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.1.7...v4.2.0)

---
updated-dependencies:
- dependency-name: hono
  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-03 02:11:10 +00:00
dependabot[bot] 1d21277220 chore(deps-dev): bump @typescript-eslint/eslint-plugin from 7.4.0 to 7.5.0 (#15072)
* 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.4.0 to 7.5.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.5.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-03 02:10:44 +00:00
dependabot[bot] 769f7ba636 chore(deps-dev): bump eslint-plugin-yml from 1.13.2 to 1.14.0 (#15069)
* chore(deps-dev): bump eslint-plugin-yml from 1.13.2 to 1.14.0

Bumps [eslint-plugin-yml](https://github.com/ota-meshi/eslint-plugin-yml) from 1.13.2 to 1.14.0.
- [Release notes](https://github.com/ota-meshi/eslint-plugin-yml/releases)
- [Changelog](https://github.com/ota-meshi/eslint-plugin-yml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ota-meshi/eslint-plugin-yml/compare/v1.13.2...v1.14.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-yml
  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-03 01:23:49 +00:00
dependabot[bot] a111a54356 chore(deps): bump puppeteer from 22.6.1 to 22.6.2 (#15068)
* chore(deps): bump puppeteer from 22.6.1 to 22.6.2

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 22.6.1 to 22.6.2.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v22.6.1...puppeteer-v22.6.2)

---
updated-dependencies:
- dependency-name: puppeteer
  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-03 01:23:24 +00:00
dependabot[bot] 80447df945 chore(deps): bump undici from 6.10.2 to 6.11.1 (#15070)
* chore(deps): bump undici from 6.10.2 to 6.11.1

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

---
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-03 01:17:57 +00:00
dependabot[bot] 6d4245ed71 chore(deps-dev): bump @typescript-eslint/parser from 7.4.0 to 7.5.0 (#15066)
* chore(deps-dev): bump @typescript-eslint/parser from 7.4.0 to 7.5.0

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.4.0 to 7.5.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.5.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-03 01:13:02 +00:00
DIYgod e3d0769545 fix: 163 music playlist 2024-04-03 02:23:34 +08:00
Ethan Shen 82cbe3cc7e feat(route): add 湖北大学资源环境学院 (#15050)
* feat(route): add 湖北大学资源环境学院

* fix typo

* fix radar
2024-04-02 22:52:18 +08:00
DIYgod 7a4cd377de feat: remote config auth 2024-04-02 21:39:50 +08:00
dependabot[bot] ab77defb07 chore(deps-dev): bump @types/node from 20.11.30 to 20.12.2 (#15057)
* chore(deps-dev): bump @types/node from 20.11.30 to 20.12.2

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.30 to 20.12.2.
- [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-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-02 08:14:39 +08:00
dependabot[bot] 1bb9ce98fb chore(deps): bump hono from 4.1.5 to 4.1.7 (#15056)
* chore(deps): bump hono from 4.1.5 to 4.1.7

Bumps [hono](https://github.com/honojs/hono) from 4.1.5 to 4.1.7.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.1.5...v4.1.7)

---
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-01 23:20:24 +00:00
dependabot[bot] 680e27ecb8 chore(deps): bump socks-proxy-agent from 8.0.2 to 8.0.3 (#15055)
* chore(deps): bump socks-proxy-agent from 8.0.2 to 8.0.3

Bumps [socks-proxy-agent](https://github.com/TooTallNate/proxy-agents/tree/HEAD/packages/socks-proxy-agent) from 8.0.2 to 8.0.3.
- [Release notes](https://github.com/TooTallNate/proxy-agents/releases)
- [Changelog](https://github.com/TooTallNate/proxy-agents/blob/main/packages/socks-proxy-agent/CHANGELOG.md)
- [Commits](https://github.com/TooTallNate/proxy-agents/commits/socks-proxy-agent@8.0.3/packages/socks-proxy-agent)

---
updated-dependencies:
- dependency-name: socks-proxy-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-01 23:05:28 +00:00
dependabot[bot] f4e4aa6d33 chore(deps): bump @tonyrl/rand-user-agent from 2.0.56 to 2.0.57 (#15054)
* chore(deps): bump @tonyrl/rand-user-agent from 2.0.56 to 2.0.57

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

---
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-02 06:56:37 +08:00
dependabot[bot] 989a1bb63b chore(deps-dev): bump @types/eslint from 8.56.6 to 8.56.7 (#15053)
* chore(deps-dev): bump @types/eslint from 8.56.6 to 8.56.7

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

---
updated-dependencies:
- dependency-name: "@types/eslint"
  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-02 06:56:19 +08:00
dependabot[bot] 00e1a33185 chore(deps): bump @hono/node-server from 1.9.0 to 1.9.1 (#15052)
* chore(deps): bump @hono/node-server from 1.9.0 to 1.9.1

Bumps [@hono/node-server](https://github.com/honojs/node-server) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](https://github.com/honojs/node-server/compare/v1.9.0...v1.9.1)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  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-02 06:42:54 +08:00
CaoMeiYouRen ac337c1de0 fix(route): 优化 bilibili 动态路由的 <br> 符号处理 (#15049)
* fix(route): 修复 bilibili 动态路由 在部分情况下存在多余的 <br> 的问题

* fix(route): 优化 bilibili 动态路由的 <br> 符号处理
2024-04-02 02:24:03 +08:00
JimenezLi 3d3286db6d fix(core): fix Git Hash unknown (#15041)
* fix: replace git-rev-sync with node function

* fix: replace git-rev-sync in routes-deprecated
2024-04-02 01:28:35 +08:00
DIYgod bc2fd88abf test: longger puppeteer timeout 2024-04-02 01:26:23 +08:00
Rongrong 045eaf664c fix(core): misc fixes of disabling cache (#15036)
* fix(core): CACHE_TYPE='' does not disable cache

The documentation of config always states that CACHE_TYPE being empty
will disable the cache.

The regression was introduced in 847724ca. The corresponding test case
was mistakenly "fixed" in 719af907.

Signed-off-by: Rongrong <i@rong.moe>

* fix(core): false RSS <ttl> when cache unavailable

Some RSS readers may probe <ttl> to determine the minimum interval of
polling. However, it is always set to `config.cache.routeExpire / 60`
even when cache is unavailable. This may not be expected when the cache
is explicitly disabled.

Set it to 1 (minute) under such a circumstance. The minimum <ttl> (when
cache is available) is also limited to 1 to avoid potential misuse.

The Cache-Control header remains untouched as caching can be done by a
reverse proxy.

Signed-off-by: Rongrong <i@rong.moe>

---------

Signed-off-by: Rongrong <i@rong.moe>
2024-04-02 01:21:38 +08:00
DIYgod e9025a76da chore: remove warp-socks 2024-04-02 01:06:41 +08:00
DIYgod 1c455caec6 feat(bilibili): add cookie debug 2024-04-02 01:05:40 +08:00
DIYgod b01a7c7619 fix(bilibili): wait for cookies 2024-04-01 23:09:58 +08:00
DIYgod 9c7e53f6ca fix: clear expired bilibili cookie 2024-04-01 22:58:12 +08:00
DIYgod 42fa0da4cb Merge pull request #15046 from CaoMeiYouRen/fix/bilibili/user/dynamic-v2
fix(route): 修复 bilibili 动态路由 缺失 live_rcmd 类型的问题; 修复 title 问题
2024-04-01 14:41:17 +01:00
DIYgod 52481ce24d fix: get bilibili cookie from puppeteer 2024-04-01 21:39:38 +08:00
CaoMeiYouRen 653a5aeff4 fix(route): 增加了 正在直播中的直播间的地址 2024-04-01 21:27:23 +08:00
CaoMeiYouRen 6981ec625c fix: 修复 正在直播的动态 封面问题 2024-04-01 21:14:22 +08:00
CaoMeiYouRen e67950b431 fix(route): 修复 bilibili 动态路由 缺失 live_rcmd 类型的问题; 修复 title 问题 2024-04-01 21:09:57 +08:00
DIYgod 39f8eeb1fc test: add ofetch tests 2024-04-01 21:00:32 +08:00
Jia ChenandTony df3f8986cd feat(route): recover route yande.re (#15030)
* feat(route): recover route yande.re

* Update lib/routes/yande/post.ts

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

---------
2024-04-01 18:49:24 +08:00
DIYgod ea4a8fc323 Merge pull request #15043 from CaoMeiYouRen/fix/bilibili/user/dynamic-v2
fix(route): 修复 bilibili 动态路由 部分情况下缺失 title 的问题
2024-04-01 11:03:46 +01:00
CaoMeiYouRen a2aaf48a9e fix(route): 修复 bilibili 动态路由 部分情况下缺失 title 的问题 2024-04-01 17:14:33 +08:00
CaoMeiYouRen 53b064f2c0 fix(route): 修复 imgUrls 没有 join 的问题 2024-04-01 17:01:55 +08:00
CaoMeiYouRen 8928e1e598 fix(route): 修复 origin 的 title 和 desc 可能会重复的问题 2024-04-01 16:58:43 +08:00
CaoMeiYouRen df5b373e19 fix(route): 修复 bilibili 动态路由 部分情况下缺失 title 的问题 2024-04-01 16:51:08 +08:00
DIYgod d7f3e88ecf Merge pull request #15031 from CaoMeiYouRen/fix/bilibili/user/dynamic-v2
fix(route): 迁移 bilibili 用户动态路由到新版 web 路由
2024-04-01 09:10:31 +01:00
rkscv 255f04b8fe fix(route): linovelib volume (#15039) 2024-04-01 10:55:13 +08:00
DIYgod ffd5f26d30 Merge pull request #14922 from DIYgod/feature/ofetch
feat: use ofetch
2024-03-31 18:58:48 +01:00
DIYgod 425a131083 chore: remove nock 2024-04-01 01:51:11 +08:00
DIYgod 50d194ef3d Merge remote-tracking branch 'origin/master' into feature/ofetch 2024-03-31 23:37:37 +08:00
DIYgod 4f44a8150d test: fix exclude 2024-03-31 23:33:31 +08:00
DIYgod bf4e5dd78f test: fix caces 2024-03-31 23:13:22 +08:00
CaoMeiYouRen 5a4dc4820b fix(route): 根据 bilibili 动态文档修复部分类型缺失 2024-03-31 13:59:04 +08:00