Commit Graph

565 Commits

Author SHA1 Message Date
github-actions[bot] 0d79eaec80 style: auto format 2024-02-29 10:58:54 +00:00
DIYgod 05f5f50206
Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-29 17:44:22 +08:00
DIYgod 28f14415e0
feat: v3 docs 2024-02-29 17:33:55 +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
DIYgod ac7cb259fc
Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-28 23:57:29 +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
DIYgod 5fb506f7a4
Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-27 20:45:31 +08: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
DIYgod 765c6777f8
Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-26 22:51:20 +08: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
DIYgod 0461a95be7
Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-24 20:13:08 +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] 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
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
github-actions[bot] 42a60773b9 style: auto format 2024-02-22 15:23:04 +00:00
cnkmmk 1caaa4f578
feat(route): add HiFeng'Blog (#14518)
* 增加 免費資源網路社群

* style: auto format

* 更新 rss.js

使用 wordpress 的 api 来获取数据

* 更新 rss.js

* 更新 rss.js

* 更新 rss.js

* 增加 HiFeng'Blog

* 更新 rss.js

* 更新 rss.js

* 更新 rss.js

* 更新 rss.js

* 更新 rss.js

* 更新 rss.js

* 更新 rss.js

* 更新 rss.js

* 更新 rss.js

* 1

* 2

* 3

* 4

* 更新 rss.js

* 1

* 更新 router.js

* 更新 rss1.js

* 改router文件

* 更新 rss.js

* 修改 hicairo

* 更新 radar.js

* 更新 rss.js

* 更新 rss.js

* Update lib/v2/hicairo/radar.js

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

---------

Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-22 23:21:06 +08:00
github-actions[bot] b53061bcbb style: auto format 2024-02-22 14:24:21 +00:00
Ben Chen 01a56d98c2
feat(route): add 吉首大学相关通知公告 (#14514)
* feat(route): add 吉首大学相关通知公告

* feat(route): add 吉首大学计算机科学与工程学院、吉首大学数统学院、吉首大学主站、创新中心通知公告、教务处教务动态、教务通知

* fix: 修复文档问题

* feat(route): add 吉首大学相关通知公告

* fea(route): add 吉首大学计算机科学与工程学院、吉首大学数统学院、吉首大学主站、创新中心通知公告、教务处教务动态、教务通知

* feat(route): add 吉首大学相关通知公告

* feat(route): add 吉首大学计算机科学与工程学院、吉首大学数统学院、吉首大学主站、创新中心通知公告、教务处教务动态、教务通知

* feat(route): add 吉首大学相关通知公告

* fea(route): add 吉首大学计算机科学与工程学院、吉首大学数统学院、吉首大学主站、创新中心通知公告、教务处教务动态、教务通知

* feat(route): add 吉首大学相关通知公告

* fea(route): add 吉首大学计算机科学与工程学院、吉首大学数统学院、吉首大学主站、创新中心通知公告、教务处教务动态、教务通知

* Update lib/v2/jsu/cxzx.js

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

* Update lib/v2/jsu/radar.js

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

* Update lib/v2/jsu/utils/index.js

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

* Update lib/v2/jsu/radar.js

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

* Update lib/v2/jsu/radar.js

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

* Update lib/v2/jsu/radar.js

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

* Update lib/v2/jsu/radar.js

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

* feat(route): add 吉首大学相关通知公告

* fea(route): add 吉首大学计算机科学与工程学院、吉首大学数统学院、吉首大学主站、创新中心通知公告、教务处教务动态、教务通知

* fix: 修复教务处返回的标题和描述为”计算机学院“

* style: 参照其他PR中Maintainer给出的建议,对radar.js 和 maintainer.js以字典序排序。

* refactor: 将整个RSS项对象作为缓存而不是单仅正文作为缓存,同时对应的修改了正文获取工具类中的内容,去除了固定的UserAgent;

* feat(route): add 吉首大学相关通知公告

* fea(route): add 吉首大学计算机科学与工程学院、吉首大学数统学院、吉首大学主站、创新中心通知公告、教务处教务动态、教务通知

* fix: 修复教务处返回的标题和描述为”计算机学院“

* style: 参照其他PR中Maintainer给出的建议,对radar.js 和 maintainer.js以字典序排序。

* refactor: 将整个RSS项对象作为缓存而不是单仅正文作为缓存,同时对应的修改了正文获取工具类中的内容,去除了固定的UserAgent;

* Update website/docs/routes/university.mdx

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

* Update website/docs/routes/university.mdx

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

* Update lib/v2/jsu/math.js

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

* Update lib/v2/jsu/universityindex.js

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

* feat(route): add 吉首大学相关通知公告

* fea(route): add 吉首大学计算机科学与工程学院、吉首大学数统学院、吉首大学主站、创新中心通知公告、教务处教务动态、教务通知

* fix: 修复教务处返回的标题和描述为”计算机学院“

* style: 参照其他PR中Maintainer给出的建议,对radar.js 和 maintainer.js以字典序排序。

* refactor: 将整个RSS项对象作为缓存而不是单仅正文作为缓存,同时对应的修改了正文获取工具类中的内容,去除了固定的UserAgent;

* Update lib/v2/jsu/rjxy.js

* Update lib/v2/jsu/math.js

* Update lib/v2/jsu/jwc.js

---------

Co-authored-by: WenjiaChen <i@wenjiachen.cn>
2024-02-22 22:22:33 +08:00
Ethan Shen cdc36d3554
feat(route): add 明月中文网 (#14520)
* feat(route): add 明月中文网

* fix: remove 404 items
2024-02-22 21:50:40 +08:00
abc1763613206 0d47d01994
feat(route): Add qdu houqin (#14515)
* feat(route): Add qdu houqin

* feat(route): qdu houqin - more accurate time

* fix: alphabetical order

* fix: unnecessary condition

---------
2024-02-21 23:19:04 +08:00
dependabot[bot] b8cefe3476
chore(deps-dev): bump @types/react from 18.2.56 to 18.2.57 in /website (#14512)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.56 to 18.2.57.
- [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-20 22:01:02 +00:00
Ethan Shen f95e5c3e9c
feat(route): add 晋江文学城作者最新作品 (#14499)
* feat(route): add 晋江文学城作者最新作品

* fix: add null check

* fix typo
2024-02-20 22:56:29 +08:00
dependabot[bot] 6f835d995f
chore(deps-dev): bump @types/react from 18.2.55 to 18.2.56 in /website (#14503)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.55 to 18.2.56.
- [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-19 21:25:07 +00:00
cnkmmk 6b24b91f00
feat(route): add 免費資源網路社群 (#14495)
* 增加 免費資源網路社群

* style: auto format

* 更新 rss.js

使用 wordpress 的 api 来获取数据

* 更新 rss.js

* 更新 rss.js

* 更新 rss.js

---------

Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-20 00:28:39 +08:00
DIYgod c713674c35
Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-19 23:31:31 +08:00
Tony 58a1e11dfa
feat(route): indienova (#14493)
* feat(route): indienova

* refactor: migrate to v2
2024-02-19 03:10:06 +08:00
Ethan Shen 8c077f966d
feat(route): add Transcript Forest (#14482)
* feat(route): add Transcript Forest

* fix: add transcript text
2024-02-18 00:24:50 +08:00