10672 Commits

Author SHA1 Message Date
Tony cc3771444f chore: update legacy docker action 2024-05-24 12:10:34 +08:00
github-actions[bot] 29276d8399 style: auto format 2024-02-29 03:37:39 +00:00
shiquda aae92ab9c0 feat(route): tongji/bks (#14558)
* feat(route): tongji/bks

* chore: format corrections

* Update lib/v2/tongji/radar.js

---------
2024-02-29 11:35:42 +08:00
github-actions[bot] 113cf124e5 style: auto format 2024-02-29 03:04:49 +00:00
tssujt 0a9f1f8067 feat(route): Add wmpvp (#14586) 2024-02-29 11:02:52 +08:00
Aleksandr Bogdanov 1badc67a6a feat(route): Telegram Channels (with video and files) (#13255)
* add tg via client library for full-res video + photo support

* fix expiring links

* fix photo downloads

* add inline thumbnails

* document thumbnails + streaming cache lock workaround

* true streaming support via Range requests

* add radar rules

* parse entities in messages to html

* tune chunking for video downloads

* add CLI option to generate TG_SESSION

* update pnpm-lock.yaml

* update telegram

* fix console usages

* remove unnecessary comment

* add english docs

* respond to review comments

* update pnpm-lock.yaml

* fix linting

* backwards compatibility for routeParams

* fix linting

* tune requestSize for smoother streaming

* fix incorrect tail post handling

* fix apiId env var bug

* html.unparse must be called on stripped text, not source markdown

* fix video streaming (requestSize is raw TL `limit`, chunkSize auto-aligns offsets by gramjs)

* replace newlines with <br> in messages because unparse doesn't do that

* must be replaceAll \n to <br/>

* Apply suggestions from code review

avoid unnecessarily starting gramjs

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

* docs: fix docs

* fix import core router

* docs: fix docs merge

* fix: eslint

* fix: guard media access with key

* docs: fix maintainer

* chore: fix pnpm @babel/*

---------

Co-authored-by: syn <syn@localhost.localdomain>
2024-02-29 10:00:28 +08:00
Keo 645e6c0be9 feat(route): add 刺猬猫 (#14592)
* add 刺猬猫

* fix getting chapter content

* add docs & radar; fix image

* update default limit

* do not fetch chapter content if chapter is locked
2024-02-29 08:52:24 +08:00
Tony cbbd82918e feat: internal media proxy (#14593)
* feat: image proxy

* feat: use Map

* docs: add docs

* fix: change config name

* Add lightnovel.us as a media source

* fix: break hostname extraction

* feat: add psl for more accurate domain extraction

* feat: split referer map

* perf(deps): replace `psl` with `tldts`

* fix: add indienova.com to referer map
2024-02-29 08:38:15 +08:00
Keo e41ed0c48a feat(route): add 欢乐书客 (#14591)
* feat(route): add 欢乐书客

* update radar

* rm redundant code
2024-02-29 04:41:18 +08:00
Keo 09cf6dbdd2 feat(route): add sfacg (#14579)
* feat(route): add sfacg

* refactor code

* feat: add radar.js

* update description

* add feed desc & img

* update radar.js

* update http url replacement

* fix: radar

* fix: maintainer

---------
2024-02-29 00:46:00 +08:00
Ethan Shen b735b645d8 feat(route): add TV Tropes Featured (#14574)
* feat(route): add TV Tropes Featured

* fix typo

---------
2024-02-29 00:28:02 +08:00
github-actions[bot] 3676871a7d style: auto format 2024-02-28 16:10:37 +00:00
cnkmmk f02487a97c feat(route): add 赵容部落 (#14580) 2024-02-29 00:08:40 +08:00
dependabot[bot] 7e3c1a2b67 chore(deps-dev): bump @types/eslint from 8.56.3 to 8.56.4 (#14578)
* chore(deps-dev): bump @types/eslint from 8.56.3 to 8.56.4

Bumps [@types/eslint](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/eslint) from 8.56.3 to 8.56.4.
- [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-02-28 23:27:43 +08:00
dependabot[bot] c13d096038 chore(deps): bump @sentry/node from 7.102.1 to 7.103.0 (#14577)
* chore(deps): bump @sentry/node from 7.102.1 to 7.103.0

Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 7.102.1 to 7.103.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.103.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.102.1...7.103.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-02-28 23:08:26 +08:00
dependabot[bot] 5820625be2 chore(deps-dev): bump @types/react from 18.2.59 to 18.2.60 in /website (#14575)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.59 to 18.2.60.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 21:22:07 +00:00
randompasser a98079239b feat(route/pcr/news): Fetch full text (#14559)
* feat(route/pcr/news): Fetch full text

* fix(route/pcr/news): add missing language code

* fix(route/pcr/news) Use cache.tryGet()

* refactor: migrate to v2

---------
2024-02-28 02:39:33 +08:00
github-actions[bot] b8a1a5d98b style: auto format 2024-02-27 18:21:03 +00:00
TonyRL 859c8b785d chore: remove ! from heading slut 2024-02-27 18:19:05 +00:00
moemoe af87f6be1c fix(route): 2048/:type (#14572) 2024-02-27 23:10:30 +08:00
dependabot[bot] d65a83e5e8 chore(deps): bump puppeteer from 22.2.0 to 22.3.0 (#14570)
* chore(deps): bump puppeteer from 22.2.0 to 22.3.0

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 22.2.0 to 22.3.0.
- [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.2.0...puppeteer-v22.3.0)

---
updated-dependencies:
- dependency-name: puppeteer
  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-02-27 07:41:03 +08:00
dependabot[bot] d7add3b3c5 chore(deps-dev): bump nock from 13.5.3 to 13.5.4 (#14569)
* chore(deps-dev): bump nock from 13.5.3 to 13.5.4

Bumps [nock](https://github.com/nock/nock) from 13.5.3 to 13.5.4.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.5.3...v13.5.4)

---
updated-dependencies:
- dependency-name: nock
  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-02-26 22:38:53 +00:00
dependabot[bot] af9568d248 chore(deps): bump @tonyrl/rand-user-agent from 2.0.51 to 2.0.52 (#14568)
* chore(deps): bump @tonyrl/rand-user-agent from 2.0.51 to 2.0.52

Bumps [@tonyrl/rand-user-agent](https://github.com/TonyRL/rand-user-agent) from 2.0.51 to 2.0.52.
- [Release notes](https://github.com/TonyRL/rand-user-agent/releases)
- [Commits](https://github.com/TonyRL/rand-user-agent/compare/v2.0.51...v2.0.52)

---
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-02-26 22:20:37 +00:00
dependabot[bot] 2eaf3c5615 chore(deps-dev): bump @types/react from 18.2.58 to 18.2.59 in /website (#14567)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.58 to 18.2.59.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 22:13:19 +00:00
storytellerF 51f79ef184 feat(router/u3c3): support preview (#14548)
* feat(router/u3c3): support preview

* fix(router/u3c3): modify route maintainer
2024-02-26 20:38:26 +08:00
KTachibanaM 65f09c7ae2 feat(route): add unraid community apps (#14564)
* add unraid community apps feed

* unraid ca support limit query parameter
2024-02-26 17:39:36 +08:00
Ethan Shen 4cfb669805 feat(route): add 四月网 (#14560) 2024-02-26 00:44:48 +08:00
github-actions[bot] 4d4f316a86 style: auto format 2024-02-25 15:41:34 +00:00
cnkmmk 20a7852394 feat(route): add 荒岛 (#14550)
* add lala

* 更新 rss.js
2024-02-25 23:39:45 +08:00
github-actions[bot] 6ed47fbdf9 style: auto format 2024-02-24 23:51:56 +00:00
GalaxvSpaceship fd18a0e9d1 feat(route): Add routes to SISU news. (#14546)
* feat(route): Add route to SISU news

```routes
/shisu/news
```
## New RSS Route Checklist / 新 RSS 路由检查表

- [x] New Route / 新的路由
  - [x] Follows [v2 Script Standard](https://docs.rsshub.app/joinus/advanced/script-standard) / 跟随 [v2 路由规范](https://docs.rsshub.app/zh/joinus/advanced/script-standard)
- [ ] Documentation / 文档说明
- [x] 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`

* Update university.mdx

* Update news.js

* Update news.js

Modified the url...

* fix(route): Add more options to SISU news.
```route
/shisu/news
/shisu/news/notice
/shisu/news/campus
```

* fix: some small problems.

* feat(route): Add more options to SISU news.
```routes
/shisu/news
/shisu/news/notice
/shisu/news/campus
```

* fix(routes): modified to the correct route.

* Forgot to format the document.

* fix(route): made category mandatory

* Update news.js
2024-02-25 07:49:47 +08:00
qixingchen 3c9bce7252 fix(route): bilibili/watchlater (#14547) 2024-02-24 20:34:25 +08:00
github-actions[bot] 77ba0d050f style: auto format 2024-02-24 02:39:17 +00:00
cnkmmk c840cbbcbf feat(route): add howtoforge (#14538)
* add howtoforge

* Update study.mdx

* 更新 rss.js

* 更新 radar.js

* 更新 radar.js
2024-02-24 10:37:22 +08:00
dependabot[bot] 68ec2091aa chore(deps-dev): bump @types/koa from 2.14.0 to 2.15.0 (#14543)
* chore(deps-dev): bump @types/koa from 2.14.0 to 2.15.0

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

---
updated-dependencies:
- dependency-name: "@types/koa"
  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-02-23 23:20:15 +00:00
dependabot[bot] 4cebc973de chore(deps-dev): bump eslint and @types/eslint (#14542)
* chore(deps-dev): bump eslint and @types/eslint

Bumps [eslint](https://github.com/eslint/eslint) and [@types/eslint](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/eslint). These dependencies needed to be updated together.

Updates `eslint` from 8.56.0 to 8.57.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/v8.57.0/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0)

Updates `@types/eslint` from 8.56.2 to 8.56.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/eslint)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
- 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-02-24 07:03:19 +08:00
dependabot[bot] 36f38f9e27 chore(deps-dev): bump @types/react from 18.2.57 to 18.2.58 in /website (#14545)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.57 to 18.2.58.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-23 21:59:08 +00:00
dependabot[bot] 0706a7c8fb chore(deps): bump pinyin-pro from 3.19.5 to 3.19.6 in /website (#14544)
Bumps [pinyin-pro](https://github.com/zh-lx/pinyin-pro) from 3.19.5 to 3.19.6.
- [Release notes](https://github.com/zh-lx/pinyin-pro/releases)
- [Changelog](https://github.com/zh-lx/pinyin-pro/blob/main/CHANGELOG.md)
- [Commits](https://github.com/zh-lx/pinyin-pro/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-23 21:57:21 +00:00
github-actions[bot] e7886b7854 style: auto format 2024-02-23 16:46:23 +00:00
Apricity a1bb675b1a fix: 更改 B站嵌入方式来防止误点会导致跳转 B站 (#14517) 2024-02-24 00:44:12 +08:00
Ethan Shen 09eac60b2b fix(route): Kemono Posts published date (#14541) 2024-02-24 00:14:34 +08:00
qixingchen 774f8c98ca feat(route): cib/whpj (#14539)
* feat(route): cib/whpj

兴业银行外汇牌价

* fix lint & security issue

* fix code review
2024-02-23 23:42:35 +08:00
Makerlife a0f571f601 fix(route/remnote): fix author name (#14534) 2024-02-23 22:10:26 +08:00
qixingchen 170b837d2c feat(route): bilibili/user/article (#14522)
* bilibili/user/article fix #14231

* Update cache.js

delete UA

* using INITIAL_STATE data

* resolve code review

* Update lib/v2/bilibili/cache.js

---------
2024-02-23 21:49:48 +08:00
storytellerF 65ba168e87 fix(router/u9a9): return cache if need (#14537) 2024-02-23 19:03:24 +08:00
dependabot[bot] 79d391baf7 chore(deps): bump puppeteer from 22.1.0 to 22.2.0 (#14531)
* chore(deps): bump puppeteer from 22.1.0 to 22.2.0

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 22.1.0 to 22.2.0.
- [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.1.0...puppeteer-v22.2.0)

---
updated-dependencies:
- dependency-name: puppeteer
  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-02-23 10:21:07 +08:00
dependabot[bot] bb951c31a2 chore(deps): bump @sentry/node from 7.102.0 to 7.102.1 (#14533)
* chore(deps): bump @sentry/node from 7.102.0 to 7.102.1

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

---
updated-dependencies:
- dependency-name: "@sentry/node"
  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-02-23 10:18:20 +08:00
dependabot[bot] 2c8493d4db chore(deps-dev): bump nodemon from 3.0.3 to 3.1.0 (#14532)
* chore(deps-dev): bump nodemon from 3.0.3 to 3.1.0

Bumps [nodemon](https://github.com/remy/nodemon) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v3.0.3...v3.1.0)

---
updated-dependencies:
- dependency-name: nodemon
  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-02-23 09:20:31 +08:00
dependabot[bot] 848d57d35e chore(deps): bump sanitize-html from 2.12.0 to 2.12.1 (#14530)
* chore(deps): bump sanitize-html from 2.12.0 to 2.12.1

Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 2.12.0 to 2.12.1.
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/commits/2.12.1)

---
updated-dependencies:
- dependency-name: sanitize-html
  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-02-22 21:50:35 +00:00
Andvari e93472638f fix(route/pts): Modify item parsing method. (#14526)
* fix(route/pts): Modify item parsing method.

* .
2024-02-23 00:37:58 +08:00