Commit Graph
6976 Commits
Author SHA1 Message Date
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
cjc7373 13b2e389d0 fix: duplicated items in ershcimi (#17073) 2024-10-10 20:43:27 +08:00
Tsuyumi 30717089d4 feat(misskey): Include file attachments in user notes API request (#17068) 2024-10-10 11:24:53 +08:00
Zhitao Chenandcztchoice 5f20f4d6ab feat(roure): fix xueqiu relateroute (#17048)
* fix xueqiu relate route

* Update lib/routes/xueqiu/cookies.ts

---------

Co-authored-by: cztchoice <cztchoice+wsl@gmail.com>
2024-10-10 11:11:23 +08:00
zipated 6a2cff9a22 feat(route): update fanbox (#17065) 2024-10-10 00:58:26 +08:00
fooksky 347f84caad fix(route): bilibili vsearch (#17064) 2024-10-09 07:44:55 -07:00
Neko Aria b20f9f70dc fix(route/bangumi): update follow rank parsing logic (#17050)
* fix(bangumi): update follow rank parsing logic

* fix(bangumi): update follow rank parsing logic

* fix(route/bangumi): update follow rank parsing logic
2024-10-09 22:23:15 +08:00
Shinku d24ab8acae docs: news.cn namespace change to 新华社 (#17056) 2024-10-09 08:56:12 +00:00
pseudoyu a86f8f6470 chore(route): add apnews api tag options 2024-10-09 11:29:32 +07:00
pseudoyu 98b7703e95 fix(route): use apnews api instead of official rss (down now) 2024-10-09 11:17:02 +07:00
quiniapiezoelectricity 755ba8cdaa fix(route/lorientlejour): fix subcategories (#17049) 2024-10-09 10:59:06 +08:00
quiniapiezoelectricity 6e12769701 feat(route/lorientlejour): fix limit query and add multiple categories functionality (#17045) 2024-10-08 22:52:38 +00:00
Tony 2a1af7dc90 fix(cache): store cache TTL (#17044) 2024-10-09 00:37:02 +08:00
Ethan Shen 3a64e9eb91 feat(route): add 中华人民共和国国家发展和改革委员会政府信息公开 (#16850)
* feat(route): add 中华人民共和国国家发展和改革委员会政府信息公开

* update to existing route

* feat(route): add 中华人民共和国国家发展和改革委员会政府信息公开
2024-10-09 00:21:50 +08:00
削微寒 1e56460b81 fix: update route HelloGitHub (#16823) 2024-10-09 00:04:13 +08:00
quiniapiezoelectricity 6deef181c5 feat: Add L'Orient-Le Jour Route (#17030)
* feat: Add L'Orient-Le Jour Route

* fix codefactor

* fix codefactor
2024-10-08 23:34:34 +08:00
Ethan Shen 5865a2c883 feat(route): add 华中科技大学机械科学与工程学院 (#17036) 2024-10-08 22:51:31 +08:00
karasu a3f153d5c9 fix(route/follow): filter inbox (#17037) 2024-10-08 22:20:36 +08:00