Commit Graph
11803 Commits
Author SHA1 Message Date
Tony 9dcc83bc84 fix(route): optional __zse_ck (#15749) 2024-05-28 22:26:04 +08:00
Wei Zhu 62aa54e6c9 fix(route): fix gov/immiau/news (#15746) 2024-05-28 22:05:09 +08:00
Kieran Wynne 07c72b1d26 fix(route): Vice component role fix (#15737)
* Removes deprecated parameter documentation

* Fixes archaic component role structure
2024-05-28 21:48:44 +08:00
dependabot[bot] 0e1d1a48b5 chore(deps-dev): bump @typescript-eslint/eslint-plugin from 7.10.0 to 7.11.0 (#15743)
* 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.10.0 to 7.11.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.11.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-05-28 21:37:47 +08:00
dependabot[bot] 2c3ca9c0ae chore(deps): bump @sentry/node from 8.4.0 to 8.5.0 (#15744)
* chore(deps): bump @sentry/node from 8.4.0 to 8.5.0

Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 8.4.0 to 8.5.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.4.0...8.5.0)

---
updated-dependencies:
- dependency-name: "@sentry/node"
  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-05-28 21:33:16 +08:00
dependabot[bot] 7262d5bf72 chore(deps-dev): bump @typescript-eslint/parser from 7.10.0 to 7.11.0 (#15742)
* chore(deps-dev): bump @typescript-eslint/parser from 7.10.0 to 7.11.0

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.10.0 to 7.11.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.11.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-05-28 21:08:38 +08:00
Nicolas Lau 0ad971d69d feat(route): tencent cloud column (#15673)
* feature: column with categoryId

* feature: column title

* feature: by category id

* refactor: move to tencent

* fix: categories and parameters

* refactor: string quote

* refactor: cache classify

* fix: cache classify
2024-05-28 20:55:18 +08:00
CaoMeiYouRen 77501fd043 feat(route): bilibili 动态路由新增:将话题作为 category (#15741) 2024-05-28 13:53:14 +08:00
Tony 6e71b1a101 docs: fix ftchinese 2024-05-28 04:26:05 +00:00
CaoMeiYouRen 363bcf329d fix(route): 修复 twitter 路由会匹配到 # 开头的颜色字符的问题 (#15740) 2024-05-28 12:18:20 +08:00
Ishirai 73c9e1fdfd fix(route): route jiaowu and xxgk for Donghua University (#15721)
* fix: update name url for Donghua University

* fix: route /dhu/jiaowu/news and /dhu/jiaowu/xxgk/news and fetch content as description

* fix: camelCase / fetch content and meta at the same time

* fix: return item using cache.tryGet
2024-05-28 10:40:15 +08:00
ttl97 9a0ef60f53 fix(route): fix Spotify TypeError (#15732)
* fix(route): fix Spotify TypeError

* fix(route): use builtin ofetch
2024-05-28 02:45:48 +08:00
CaoMeiYouRen 2e839e61b9 feat(route): twitter 路由新增:将话题提取为 category (#15735) 2024-05-28 02:21:12 +08:00
CaoMeiYouRen 2b5f4d092a feat(route): 微博路由 新增 category 字段 (#15734) 2024-05-28 00:40:55 +08:00
Andvari 3a512a3500 fix(route): Fix AP news time. (#15731) 2024-05-27 22:17:09 +08:00
Andvari 060ef55f1c fix(route): Ensure the link can be fetched. (#15730) 2024-05-27 21:59:06 +08:00
dependabot[bot] 8f5ac49093 chore(deps-dev): bump @babel/preset-typescript from 7.24.1 to 7.24.6 (#15724)
* chore(deps-dev): bump @babel/preset-typescript from 7.24.1 to 7.24.6

Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.24.1 to 7.24.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  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-05-27 20:30:53 +08:00
dependabot[bot] 3436b82f74 chore(deps): bump hono from 4.3.11 to 4.4.0 (#15726)
* chore(deps): bump hono from 4.3.11 to 4.4.0

Bumps [hono](https://github.com/honojs/hono) from 4.3.11 to 4.4.0.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.3.11...v4.4.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-05-27 20:18:04 +08:00
dependabot[bot] a8421481f2 chore(deps): bump jsdom from 24.0.0 to 24.1.0 (#15723)
* chore(deps): bump jsdom from 24.0.0 to 24.1.0

Bumps [jsdom](https://github.com/jsdom/jsdom) from 24.0.0 to 24.1.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/24.0.0...24.1.0)

---
updated-dependencies:
- dependency-name: jsdom
  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-05-27 20:08:56 +08:00
dependabot[bot] fbc5dfc6b8 chore(deps-dev): bump @babel/preset-env from 7.24.5 to 7.24.6 (#15729)
* chore(deps-dev): bump @babel/preset-env from 7.24.5 to 7.24.6

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.24.5 to 7.24.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.6/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  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-05-27 20:07:34 +08:00
dependabot[bot] bcfc106eef chore(deps-dev): bump lint-staged from 15.2.4 to 15.2.5 (#15725)
* chore(deps-dev): bump lint-staged from 15.2.4 to 15.2.5

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 15.2.4 to 15.2.5.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](https://github.com/okonet/lint-staged/compare/v15.2.4...v15.2.5)

---
updated-dependencies:
- dependency-name: lint-staged
  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-05-27 20:06:43 +08:00
dependabot[bot] 7db7c3de7a chore(deps): bump tldts from 6.1.21 to 6.1.22 (#15727)
* chore(deps): bump tldts from 6.1.21 to 6.1.22

Bumps [tldts](https://github.com/remusao/tldts) from 6.1.21 to 6.1.22.
- [Release notes](https://github.com/remusao/tldts/releases)
- [Changelog](https://github.com/remusao/tldts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/remusao/tldts/compare/v6.1.21...v6.1.22)

---
updated-dependencies:
- dependency-name: tldts
  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-05-27 20:04:44 +08:00
dependabot[bot] cc5702ae4c chore(deps): bump @tonyrl/rand-user-agent from 2.0.64 to 2.0.65 (#15728)
* chore(deps): bump @tonyrl/rand-user-agent from 2.0.64 to 2.0.65

Bumps [@tonyrl/rand-user-agent](https://github.com/TonyRL/rand-user-agent) from 2.0.64 to 2.0.65.
- [Release notes](https://github.com/TonyRL/rand-user-agent/releases)
- [Commits](https://github.com/TonyRL/rand-user-agent/compare/v2.0.64...v2.0.65)

---
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-05-27 20:04:14 +08:00
Tony 50c1bb7fd9 feat(route): stream-capital (#15719) 2024-05-27 04:39:20 +08:00
Ethan Shen 26dfc27cfb feat(route): add 台灣角川角編新聞台 (#15718) 2024-05-27 03:00:04 +08:00
Kieran WynneandTony d33b416d6e feat: adds vice.com route #15694 (#15698)
* feat: adds vice.com route #15694

* Clean up ctx parameters

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

* remove obsolete feature config

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

* Updates route to combat future conflicts. removes content Parameter

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

* removes unnecessary language parameter fallback

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

* replaces html parsing with json data parsing

Co-authored-by: Tony <TonyRL@users.noreply.github.com> - amazing code thanks for your contribution (never had someone comment on my code before, hope I've implemented your suggestions the right way)

* Updates the article content, to pull by default

Co-authored-by: Tony <TonyRL@users.noreply.github.com>. I've had to update it a little as there were a few errors

* Updates example & radar

* consolidates similar role cases

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

* Renames namespace name

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

* Removes article rendering

Whilst _some_ main articles do benefit from inner article rendering, it was inserting irrelevant content (ads for similar content). The articles that do benefit are essentally just listicles.

---------
2024-05-27 01:07:30 +08:00
Lfish 256f28e876 feat(route): 增加少数派首页路由每篇文章的封面图片 (#15716)
* Update index.ts

* Update index.ts

* sspai index image
2024-05-27 00:11:36 +08:00
Terry Chan d5ab30ea30 fix(ximalaya): parse pay audio address (#15715)
* fix(ximalaya): parse pay audio address

* chore: add types

* fix: add json.parse to parseResponse option

---------
2024-05-26 23:39:47 +08:00
Chih-Hsuan Yen 31e2a43a00 fix(core): restore LISTEN_INADDR_ANY functionality (#15706)
Somehow the functionality is lost during Hono migration [1]. Let's add
it back.

[1] https://github.com/DIYgod/RSSHub/commit/8e0154552ce3a5c2f9b88fa45447eb809d5ec252
2024-05-26 22:10:53 +08:00
DIYgod d1dd8a53ca feat: retry requesting control (#15717)
* feat: retry requesting control

* test: fix error handling test
2024-05-26 21:48:29 +08:00
Nicolas Lau 4205e8475d feat(route): support podwise.ai (#15670)
* feature: podwise.ai

* refactor: simplify item, remove some unnessary code

* feat: add podcast feed info

* chore: remove comment

* refactor: use import instead of require

* convert enclosure type
2024-05-26 21:10:03 +08:00
DIYgod 53edbc7e62 test: fix rate limiter duration 2024-05-26 20:51:30 +08:00
DIYgod 0839e555bb feat: bypass cache for non rss routes 2024-05-26 20:46:12 +08:00
DIYgod 61e0ae13d9 Revert "feat: split test routes"
This reverts commit c265a0616a.
2024-05-26 17:22:13 +08:00
DIYgod e16f95c546 feat: add outgoing request rate limit 2024-05-26 17:18:48 +08:00
DIYgod c265a0616a feat: split test routes 2024-05-26 16:52:39 +08:00
DIYgod e3f57a17e0 feat: temporarily disable request timeout 2024-05-26 15:58:43 +08:00
Tony 4cea8ac3b8 feat(route): jingzhengu (#15709) 2024-05-26 04:10:39 +08:00
github-actions[bot] 690b22f34a style: auto format 2024-05-25 15:51:43 +00:00
Ryan 8c61d0bba5 fix(route): fix flatten function to work properly (#15702)
* fix: fix flatten function to work properly

* fix: lint
2024-05-25 23:49:48 +08:00
Yigong Hu 1f334be4f8 fix(route): Typst universe route removes duplicated packages and fix description (#15664)
* fix: package list source and title

* edit: remove duplicated packages and get rendered page

* Revert "edit: remove duplicated packages and get rendered page"

This reverts commit 711d8941c8098ffc077195587f6452349d7bf784.

* fix: remove duplicated packages

* fix: image links

* edit: fix image path after render

* fix: Incomplete URL substring sanitization

* fix: coding sty;e
2024-05-25 23:16:11 +08:00
Tony 94ffb50814 fix(route): zhihu __zse_ck (#15707) 2024-05-25 22:29:42 +08:00
eternasuno 532e380a56 fix(route): update 69shu url (#15704) 2024-05-25 22:10:55 +08:00
Tony 85c40f9df4 fix(route): javdb (#15701)
* fix(route): javdb

* fix: radar
2024-05-25 19:58:23 +08:00
DIYgod 80355cf6ea fix: bilibili ranking description 2024-05-25 19:49:23 +08:00
DIYgod ebca84b6f8 chore: trigger redeployment 2024-05-25 19:27:29 +08:00
xianghuawe 358630249c fix(route): /2048 route down (#15686)
* fix: /2048 route down

* Revert "fix: /2048 route down"

This reverts commit e9511e07bb37002b079bc52c1e59d7e90026c2c8.

* fix: remove attachments && change to ofetch raw

* fix: add enclosure_type && change import
2024-05-25 14:26:55 +08:00
Tony bc3b3e21cd feat(route): imdb top charts (#15697)
* feat(route): imdb top charts

* fix: typo
2024-05-25 04:23:23 +08:00
TonyRL fe683a11e2 chore: unwrap error detail in test route 2024-05-24 20:19:41 +00:00
karasuandTony f71073d0e6 feat(route): cfr (#15682)
* feat(route): cfr

* fix: fix list selector

* fix: add item link

* Update lib/routes/cfr/utils.ts

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

* fix

* fix: add books-reports selector

* feat: concurrent control

* add antiCrawler tag

---------
2024-05-25 00:00:24 +08:00