Commit Graph
7893 Commits
Author SHA1 Message Date
pseudoyu 9852d9d1dc feat(route/fediverse): try official rss first to reduce requests 2024-10-19 12:50:52 +08:00
tourist 708994584a feat(route/nudt): Add more RSS source about yjszs (#17188) 2024-10-19 02:57:06 +08:00
Ethan Shen 861b15f0e6 feat(route): add InfoQ Presentations (#17180)
* feat(route): add InfoQ Presentations

* fix typo
2024-10-19 00:00:29 +08:00
Urabartin 6355d535cc feat(route): MissKON (#17178) 2024-10-18 23:18:59 +08:00
pseudoyu fc80e4400e feat(router/twitter): modify twitter list configs 2024-10-18 17:04:03 +08:00
James Gu 6ac864917f feat(route): ktown4u (#17182)
* add ktown4u route

* delete source

* fix some feedback

* Apply suggestions from code review

---------
2024-10-18 14:16:28 +08:00
TsuyumiandTony ff76aa7267 feat(route): add route for skebetter (#17181)
* feat(route): add route for skebetter

* feat: add radar

* Update lib/routes/skebetter/index.ts

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

* Update lib/routes/skebetter/manga.ts

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

* Update lib/routes/skebetter/illust.ts

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

* fix: import config

---------
2024-10-18 13:59:37 +08:00
quiniapiezoelectricity 69a35d2f56 feat(route): add straits times route (#17163)
* feat(route): add straits times route

* Update lib/routes/straitstimes/index.ts

---------
2024-10-18 13:02:46 +08:00
CaoMeiYouRen 1758862b88 fix(route): fix Twitter Username+password login (#17166)
fix #17089
2024-10-18 12:34:57 +08:00
lzkandlinzhikang 692c66eebc fix(route/weibo): Solve the problem that Weibo Radar rules cannot be generated correctly (#17144)
* 修复配置 ACCESS_KEY 导致 healthcheck 失败的问题

* 修复微博Radar规则未正确生成的问题

* Revert "修复配置 ACCESS_KEY 导致 healthcheck 失败的问题"

This reverts commit 6f81cbcdc966176297fbede4474ff8b37c702e6d.

---------

Co-authored-by: linzhikang <linzhikang@bytedance.com>
2024-10-18 12:08:09 +08:00
Otstar Lin 9f44e77237 fix(route/bilibili): add addDmVerifyInfoWithInter to bypass the risk control mechanism (#17147) 2024-10-18 09:47:17 +08:00
Tony f455df8a35 fix(route): dcfever (#17179) 2024-10-18 00:25:53 +08:00
quiniapiezoelectricity 3d34710b6e feat(route): add icable route (#17105)
* feat(route) add icable route

* fix Disallow specified syntax

* fix Move function definitions to the highest possible scope.

* fix Disallow unnecessary escape characters

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review
2024-10-17 23:42:25 +08:00
李浩宇andTony f8d7e71f2b fix: route ‘/gov/zj/search/:websiteid?/:word/:cateid?’ result.item deduplication (#16730)
* feat: 宁波市人力资源保障局-某分类-公告列表

* feat: 宁波国资委-某分类-公告列表

* Update lib/routes/gov/zj/ningborsjnotice.ts

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

* Update lib/routes/gov/zj/ningbogzw-notice.ts

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

* Update lib/routes/gov/zj/ningbogzw-notice.ts

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

* Update lib/routes/gov/zj/ningborsjnotice.ts

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

* fix: description content indent update

* fix: route ‘/gov/zj/search/:websiteid?/:word/:cateid?’ result.item deduplication

* fix: route ‘/gov/zj/search/:websiteid?/:word/:cateid?’ result.item deduplication

---------
2024-10-17 22:59:21 +08:00
pseudoyu b8695ad28a refactor: reuse lsid() in bilibili util 2024-10-17 22:54:00 +08:00
Andvari c986500e2d fix(route/the): Adjust default limit to get the latest articles (#17171) 2024-10-17 07:05:56 -07:00
pseudoyu 578e2f12fe feat(route/bilibili): generate and replace b_lsid in cookie 2024-10-17 20:32:13 +08:00
zreo0 e4eedac24f feat(route): add route aibase/news (#17164) 2024-10-17 05:08:26 +08:00
chris zheng 1309c5083e feat(route): add route for graduacted school of CJLU (China Jiliang University) (#17149)
* feat(namespace): add namespace for CJLU

* feat(route): Add route for graduate school of CJLU

为中国计量大学研究生院添加路由
支持将`教师通知`和`研究生通知`页面转化为 RSS 订阅源

* doc: modify discription of some params

修改参数描述

* fix(radar rule): modify radar rule

修改 radar 规则,以正确提供订阅源

* fix: add exception handling

增加异常处理

* chore: optimize conditional logic

优化判断逻辑

* Update lib/routes/cjlu/yjsy/index.ts

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

* fix(radar rule): list all source choices

在 radar 规则中列出全部的类型
修改行尾符为 LF

* fix(example): correct example of the route

订正路由的案例

---------
2024-10-17 01:07:51 +08:00
Neko Aria 983bc8f360 fix(route/zaobao): update list parsing logic (#17152) 2024-10-17 00:18:10 +08:00
Neko Aria a5e0ccd3e7 fix(route/picuki): update title parsing logic (#17131) 2024-10-16 23:50:39 +08:00
Flamma e3f43dcec3 feat(route): add route for HFUT合肥工业大学通知公告 (#17122)
* 新增HFUT合肥工业大学通知公告路由

* fix function mistake

* fix pr mistakes
2024-10-16 23:36:17 +08:00
Tsuyumi 7ba90ff183 docs: fix Skeb route examples and description (#17156) 2024-10-16 06:30:23 -07:00
Nano 9dccb13af4 fix(route/damai): allow to return empty results (#17162)
* fix(route/damai): allow to return empty results

fixed #17158

* chore(route/damai): set antiCrawler to be true
2024-10-16 04:01:27 -07:00
Tony 37d2a80dee fix(route): famitsu (#17153) 2024-10-16 09:29:08 +08:00
Ethan Shen 36b84b25bb feat(route): add 中国无机盐工业协会 (#17117)
* feat(route): add 中国无机盐工业协会

* fix typo

* fix typo

* fix: use url pattern
2024-10-16 02:12:37 +08:00
After9andTony 516becd889 feat: add hko route (#17082)
* feat: 添加koa路由

 ## Involved Issue / 该 PR 相关 Issue

Close #

## Example for the Proposed Route(s) / 路由地址示例

## New RSS Route Checklist / 新 RSS 路由检查表

- [x] New Route / 新的路由
- [x] Follows [Script Standard](https://docs.rsshub.app/joinus/advanced/script-standard) / 跟随 [路由规范](https://docs.rsshub.app/zh/joinus/advanced/script-standard)
- [x] Documentation / 文档说明
- [ ] Full text / 全文获取
- [ ] Use cache / 使用缓存
- [ ] Anti-bot or rate limit / 反爬/频率限制
- [ ] If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
- [ ] [Date and time](https://docs.rsshub.app/joinus/advanced/pub-date) / [日期和时间](https://docs.rsshub.app/zh/joinus/advanced/pub-date)
- [ ] Parsed / 可以解析
- [ ] Correct time zone / 时区正确
- [ ] New package added / 添加了新的包
- [x]

## Note / 说明

- 新增路由暂时用于提供經香港天文台分析的全球5.0級或以上及本地有感的地震資訊。
- 后期会扩展新增新增更多其它自然公益资讯。

* try: use nodejs v20.14.0

* fix: change puppeteer to ofetch

* fix: update example path

* Update lib/routes/hko/app.ts

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

* fix: use utilities to handle date and time

* fix: migrate old route

---------
2024-10-16 01:56:45 +08:00
Nano 7e18a29ec1 chore: add maintainer in two routes (#17133)
* chore(route/bilibili): add maintainer

* chore(route/weibo): add maintainer
2024-10-16 01:34:42 +08:00
Stephen Zhou 3dbe8c05d4 feat(route/transform): encoding option (#17136)
* feat: encoding option

* update
2024-10-15 22:44:22 +08:00
DIYgod bf2e71ce80 fix(twitter): cache unlock 2024-10-15 20:11:41 +08:00
DIYgod 2de569b4d2 feat(twitter): limit remainingInt to 2 2024-10-15 16:41:55 +08:00
xxx.Yan bf66164260 fix(route/parliament.uk): page link and items selector (#17129)
* chore(route): add nytimes popular routes

* fix(route/parliament.uk): fix return link

* fix(route/parliament.uk): fix items selector

---------
2024-10-15 02:36:17 +08:00
Mas0nShi e953515cd2 refactor(route/hex-rays): update data acquisition method (#17130)
This commit refactors the data acquisition method in the hex-rays route. It adds type annotations for the Data, DataItem, and Route types. It also imports the Context type from the hono library. The maintainers list is updated to include Mas0n. The handler function now takes a Context parameter and returns a Promise<Data>. The link to fetch data is updated to 'https://hex-rays.com/blog/'. The parsing logic for the list of articles is modified to use the correct selectors. The category and description properties of each article are updated to match the new HTML structure. The image property is added to the returned data object.
2024-10-15 02:24:36 +08:00
Yun Du 74f9863a19 fix(route): add cool paper Robotics RSS and fix kimi url (#17132) 2024-10-15 01:40:56 +08:00
Stephen Zhou b3d8bc861d feat: extract content (#17099)
* feat: extract content

* chore: update

* cache.tryGet

* fix: cache whole item

---------
2024-10-15 00:37:05 +08:00
TsuyumiandTony e4deee086f feat(route): add route for skeb (#17047)
* feat(route): add route for skeb

* fix: wrap function call in map() to resolve ESLint warning

* refactor: Enhance type safety and rename functions for Work and Creator processing

* refactor: optimize followings API and caching logic

* fix: remove request_key

* fix: resolve request_key issues in works API
- Fetch request_key from initial API response and cache it
- Replace hardcoded User-Agent with config.ua

* fix: misc improvements
- Remove unnecessary InvalidParameterError checks and imports
- Simplify route names by removing "Skeb" prefix
- Set refresh to false in Skeb API cache
- Fix typo in search.ts filename

* fix: remove URL fragments from radar sources

* refactor: Optimize category structure and enhance data processing
- Remove 'request_masters' and 'first_requesters' categories as they are not creators
- Implement template rendering for richer output
- Enhance work data processing with audio handling
- Improve creator data with commission status information

* fix: add __dirname

* fix: prevent potential function loop from unexpected API errors

* Update lib/routes/skeb/works.ts

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

* fix: correct Skeb bearer token naming and references

---------
2024-10-14 23:18:02 +08:00
Dlouxgit 2dd0033b4b fix(route/5eplay): update data acquisition method (#17120)
fix #17067
2024-10-13 22:26:19 -07:00
kaho 3cd690ad24 fix(route): dlsite (#17103)
* fix(route): dlsite

* revert

* fix: `/dlsite/ci-en/:id/article`

* fix: route order
2024-10-14 03:01:33 +08:00
Ethan Shen bb74dad387 feat(route): add 国门传媒在线中国海关 (#17093)
* feat(route): add 国门传媒在线中国海关

* fix: categories

---------
2024-10-14 02:31:06 +08:00
mobyw 5360e267eb feat(route): update routes for uestc jwc and gr (#17092)
* feat(route): update routes for uestc jwc and gr

* fix: add missing path arg of uestc gr

* feat: update example of uestc gr
2024-10-14 01:32:49 +08:00
RieN 7z 21e9405b53 feat: add route ipsw.dev (#17074)
* [feat(routes)] Add ipsw.dev support

* fix: use art-template

* fix: host

* fix: add __dirname

* fix: namespace

---------
2024-10-14 00:46:12 +08:00
Ethan Shen b98c446a03 feat(route): add AIbase (#16937)
* feat(route): add AIbase

* fix: template for description

* update util.ts
2024-10-14 00:08:20 +08:00
quiniapiezoelectricity bdb3295cd8 fix(route/oncc): fix art-template (#17116) 2024-10-13 15:18:11 +00:00
xxx.Yan 9376572d33 feat(route): add route UK Parliament Commons Library research by topic (#16941)
* feat(route): add route UK Parliament Lords Library Research by Topic

* chore(route): rename parameter from tag to topic.

* feat(route): add route UK Parliament Commons Library Research by Topic

* chore(route): update parameters desc.

* fix: close browser after puppeteer usage

---------
2024-10-13 04:09:59 +08:00
xxx.Yan b1a030c5f0 feat(route): add route UK Parliament Lords Library research by topic (#16933)
* feat(route): add route UK Parliament Lords Library Research by Topic

* chore(route): rename parameter from tag to topic.

* fix: close browser after puppeteer usage

---------
2024-10-13 03:33:39 +08:00
After9 830be61360 fix(route): change url in /tvb/news (#17098) 2024-10-12 12:02:40 +08:00
pseudoyu b6961b91e4 feat(route): also support podcast id in xiaoyuzhou 2024-10-11 16:19:38 +07:00
Stephen Zhou a4daf28ca5 fix: catch Invalid Date (#17081) 2024-10-10 21:21:35 -07:00
Tsuyumi afb755449b fix(misskey): Handle renotes properly to improve content display (#17078) 2024-10-11 03:56:58 +08:00
Ethan Shen 4fac950af8 feat(route): add 中国豆制品网 (#17029)
* feat(route): add 中国豆制品网

* fix typo
2024-10-11 00:39:08 +08:00