Commit Graph
7710 Commits
Author SHA1 Message Date
pseudoyu b0ab27df92 feat(route/youtube): filter shorts in channel with handle route 2025-04-14 16:21:35 +08:00
pseudoyu 636f8ffff3 feat(route/youtube): add filterShorts routerParam to make feeds concise 2025-04-14 16:01:59 +08:00
shunwork 5e91602190 feat(ApplePodcast): remove seoEpisode check because it is removed fro… (#18838)
* feat(ApplePodcast): remove seoEpisode check because it is removed from source

* fix(ApplePodcast): parse seoEpisodes from new position rather than removing it
2025-04-14 01:55:37 +08:00
Ethan Shen 9847673e92 feat(route): add 广告门最新文章 (#18839) 2025-04-14 00:56:50 +08:00
Kjasn 1adbdf54eb fix(route): fix hanime1 previews video posters not displaying (#18835) 2025-04-14 00:10:32 +08:00
Laam Pui 31e16cabce feat(route): added jin10 category. (#18812) 2025-04-12 12:18:21 -07:00
SuperJeason edf603fbbe fix(route): fix swjtu/scai/bks route (#18832)
* fix(route): fix swjtu/scai/bks route)

* fix(route): fix swjtu/scai/bks route)

* fix(route): fix swjtu/scai/bks route)

* fix(route): fix swjtu/scai/bks route)

* fix(route): fix swjtu/scai/bks route)

* fix(route): fix swjtu/scai/bks route)

* fix(route): fix swjtu/scai/bks route)
2025-04-12 22:11:44 +08:00
Li Fangqiao a8b2d68228 fix(route): resolve issue #18517 by updating headers for Reuters API (#18828) 2025-04-12 21:42:01 +08:00
Andvari d8efe7b4c3 feat(apnews): Mobile API (#18819)
* feat(apnews): Mobile API

* .

* 更新 mobile-api.ts

* 更新 mobile-api.ts

* .
2025-04-12 03:17:12 +08:00
Kjasn b0181eeea4 feat(route): add Hanime1 (#18804)
* feat(route): add Hanime1

* feat(route): enhance Hanime1 previews, fix UA

* fix(route): update puppeteer import to use utility function

* fix(route): replace puppeteer with ofetch
2025-04-12 02:21:03 +08:00
Ethan Shen 6b681e7198 feat(route): add 西安交通大学本科招生网 (#18826) 2025-04-12 01:45:57 +08:00
Bean Deng 邓斌 ac50b9850a fix: 修复 /readhub/daily 路由 logo 和标题显示的问题 (#18825)
* fix: image of readhub daily should be square

* fix: 修复标题中重复的 ` - Readhub`
2025-04-11 21:19:08 +08:00
la3rence f20d5b3620 feat(route): tariff docs by chinese gov (#18809)
* feat(route): tariff docs by chinese gov

* chore: fix example path
2025-04-09 23:05:45 -07:00
Ethan Shen 8508789087 feat(route): add 机核网预告 (#18810) 2025-04-09 09:23:09 -07:00
Saif Azmi facc6d543c feat(route): add LinkedIn company posts (#18799)
* feat(route): add linkedin company posts - basic setup

path: /linkedin/company/google/posts

* feat(route): linkedIn company post returns realworld data

* fix: InvalidDate issue for pubDate

* refactor: to using arrow function for handler

* feat: add feed description

* chore: update parameter company_id description

remove trailing white space

* perf: add await to puppeteer page.close()

* perf: close puppeteer browser

missed this step in previous commits

* perf: load response in cheerio only once
2025-04-09 21:23:54 +08:00
UserandJoe eb5e4c609b fix: A bug fix ,fix nhentai image link error (#18805)
* fix nhentai image link error

* bring yml back

* fix: add an empty line at the end

---------

Co-authored-by: Joe <joegodwanggod@gamil.com>
2025-04-09 20:41:28 +08:00
Stephen Zhou cc60fa813b fix(route): first line as title for telegram channel (#18800) 2025-04-08 23:09:21 +08:00
uuwor 6dd5106441 feat(route): A new routing (cdrw.ts) has been created (#18786)
* 为jwgg.ts添加了部分注释;新建了路由tzggcdunews.ts

* Update jwgg.ts

Indentation has been added after the comments '//' or '/*'

* Update tzggcdunews.ts

Indentation has been added after the comments '//' or '/*'

* Update jwgg.ts

Adjusted Code format

* Update jwgg.ts

完整的 URL:在 url 字段中添加了协议部分(https://)。
选择器修正:直接在 title 中查找 <a> 标签而不是 tr.odd a,这减少了选择器的复杂度。
日期匹配检查:加入了对 dateMatch 的检查,以防止运行时错误。
使用模板字符串:在构建 link 时使用模板字符串,使代码更易读。
过滤无发布日期的项目:在返回结果时,过滤掉那些没有发布日期的项,以确保输出的数据质量。

* 重写tzggcdunews.ts;还原jwgg.ts

* Update lib/routes/cdu/tzggcdunews.ts

* Create news.ts

成大新闻

* Update news.ts

主要修复点
列表项选择器修正:

原代码使用$('a[title]')选择器不够精确

改为使用$('ul.ul-mzw-litpic-a2 li a.con')更精确地定位新闻条目

日期解析改进:

保持原有的两种日期格式处理逻辑

确保日期解析正确并转换为UTC+8时区

链接处理:

正确处理相对路径链接,使用new URL(link, rootUrl).href构建完整URL

标题提取:

从.tit元素中提取标题,而不是依赖title属性

详情页内容提取:

使用.v_news_content选择器获取正文内容

移除页脚等无关元素

RSS标题生成:

从页面标题和分类标题组合生成更有意义的RSS标题

错误处理:

添加了适当的错误处理逻辑,确保在元素不存在时不会报错

* Update news.ts

路由索引

* Create cdrw.ts

增添成大人物订阅

* Delete lib/routes/cdu/news.ts

DELETE NEWS.TS
2025-04-08 01:13:46 +08:00
Ethan ShenandTony 75c74aff94 feat(route): add 199IT (#18788)
* feat(route): add 199IT

* update lib/routes/199it/index.ts

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

---------
2025-04-08 00:14:21 +08:00
dependabot[bot] 5de09288d9 chore(deps): bump @scalar/hono-api-reference from 0.7.5 to 0.8.0 (#18790)
* chore(deps): bump @scalar/hono-api-reference from 0.7.5 to 0.8.0

Bumps [@scalar/hono-api-reference](https://github.com/scalar/scalar/tree/HEAD/integrations/hono) from 0.7.5 to 0.8.0.
- [Changelog](https://github.com/scalar/scalar/blob/main/integrations/hono/CHANGELOG.md)
- [Commits](https://github.com/scalar/scalar/commits/HEAD/integrations/hono)

---
updated-dependencies:
- dependency-name: "@scalar/hono-api-reference"
  dependency-version: 0.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: update export name

https://github.com/scalar/scalar/commit/81dddd3571d964f17820f503b48707db365d9cb3

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-07 22:28:50 +08:00
极致 81a5807bf4 fix(route): adjusted route sample (#18787) 2025-04-06 06:51:36 -07:00
74f6f784bf feat(route): add GitCode (#18778)
* feat(route): add GitCode

* Update lib/routes/gitcode/repos/commits.ts

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

* Update lib/routes/gitcode/repos/commits.ts

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

* Update lib/routes/gitcode/repos/commits.ts

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

* Update lib/routes/gitcode/repos/commits.ts

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

* Update commits.ts

* Update commits.ts

---------

Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
2025-04-06 18:45:26 +08:00
Raspberry cf8766a74a fix(route/zsxq): fix excess text when parsing link text (#18785) 2025-04-05 17:31:44 +00:00
Mervyn Zhan 64a9bfe47f fix: #18771 gov stats description error (#18773)
* fix(route/gov/stats): corrected the `description` and `author`

fix #18771

* docs(route/gov/stats): correct the example path

* refactor(route/gov/stats): fetch the item.author directly

* refactor(route/gov/stats): remove the always false condition
2025-04-05 09:21:55 -07:00
Chih-Hsuan Yen 0f43236cae fix(route/bilibili): fix manga updates (#18300)
* fix(route/bilibili): fix manga updates

Closes https://github.com/DIYgod/RSSHub/issues/18246

* Update

As suggested in https://github.com/SocialSisterYi/bilibili-API-collect/issues/1168#issuecomment-2643690149

* Cache the wasm binary

* Download and generate wasm-exec.js on the fly

* Fix `pnpm build` from scratch

* Use camelCase for variables

* Download and commit upstream wasm_exec.js

Source: https://github.com/golang/go/raw/refs/tags/go1.24.0/lib/wasm/wasm_exec.js

* Export Go

As suggested in https://github.com/SocialSisterYi/bilibili-API-collect/issues/1168#issuecomment-2643690149

* eslint --fix

* Make eslint happier

* prettier --write

* The last auto fix

* fix: use ts extension

---------
2025-04-05 03:07:02 +08:00
Andvari aa38e959e7 fix(route/zhihu): Allow to set __zse_ck in signedHeader (#18774) 2025-04-05 01:14:45 +08:00
Ethan Shen 6290710c93 feat(route): add Diario Frutícola Filtro (#18780) 2025-04-05 00:43:20 +08:00
Neko Aria 8e268d1af8 fix(route/weibo): handle abnormal mblog with empty bid (#18770) 2025-04-04 22:57:43 +08:00
AiraNadih d75bedb50b feat(route): add route "BaoBua" (#18762)
* feat(route): add route "BaoBua"

* perf(route/baobua): cache paginated content to reduce API requests

* Revert "perf(route/baobua): cache paginated content to reduce API requests"

This reverts commit 200616c15ae173ef4882da92fd7aec48dcffefda.

* feat(route): add route "BaoBua"
2025-04-04 18:44:05 +08:00
但为君故 7dbb6ccfd7 feat(route): add Northwest Normal University. (#18763)
* feat(route): add nwnu.

* fix: process embed PDF.

* chore: support 2738 param.

* fix: code styles, radars.

* feat: add academic affairs route.

* typo: fix.

* typo: fix
2025-04-04 17:33:14 +08:00
AiraNadih 517ba99ba7 fix(route/4khd): update image URL processing logic (#18761)
* fix(route/4khd): update image URL processing logic

* fix(route/4khd): update image URL processing logic
2025-04-03 16:12:35 -07:00
Tony a77c5f43b9 feat(route): recover psnine (#18760)
* feat: recover psnine

* fix: update path
2025-04-03 02:41:19 +08:00
未月andTony 32b4c1a51d feat: add melonbooks (#18753)
* feat: add melonbooks

* refactor: extend description content

* fix: fix cache path

* fix: update

* Update lib/routes/melonbooks/search.ts

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

* refactor: add whole item page into description

---------
2025-04-02 18:47:24 +08:00
Jiahao Lee 8c16cf41a7 fix(route/yystv): fix cache collisions (#18739)
* fix(route/yystv): fix cache collisions induced by these two implementations

* chore(route/yystv): prefer existing types over new types

* fix(route/yystv): prefer caching processed items over raw web pages

* docs: fix maintainer github id

---------
2025-04-02 03:10:56 +08:00
Ethan Shen b9a71029f3 fix(route/bullionvault): missing latest articles (#18754) 2025-04-02 00:49:19 +08:00
Majimay a4935ea1ac feat(route): add 杭州市人民政府 (#18208)
* feat(route): add 杭州市人民政府

* change maintainer username

* perf: drop unnecessary requests

* feat: use art-template to format content from 浙江政务服务网

* fix: remove custom UA

* fix: puppeteer timeout due to unnecessary  page request, turn off page interception

* perf: reduce loading time & fix(puppeteer): exceed waitForSelector timeout
2025-04-01 19:09:46 +08:00
F.Rushmore.Coglan fd5cc6868f feat(route): add 中国政法大学 (#18748)
* feat(route): 添加中国政法大学教务处通知公告路由

* fix(route): 修改中国政法大学教务处路由名称为“教务处通知公告”
2025-04-01 18:28:09 +08:00
Gexi0619 9231286541 feat(route): add /unipd/ilbolive/news (#18720)
* get date from article

* fix(route): apply review suggestions for ilbolive news route

* fix(route): remove YouTube iframe handling for /ilbolive/news to resolve CodeQL alert

* fix(route)
2025-04-01 02:10:00 +08:00
Ethan Shen bfd2391119 feat(route): add BullionVault Gold News (#18736) 2025-03-31 23:10:25 +08:00
但为君故 161ec1614d fix(route): 软考,通信考试路由错误. (#18740) 2025-03-31 19:36:14 +08:00
Andvari a7bcf3e5f7 feat(route/cw): add waitForSelector (#18735) 2025-03-30 23:25:58 +08:00
ADAM HUANG 48169749e6 fix(route): optimize transformer-circuits route (#18731)
* fix(route): optimize transformer-circuits route

* fix(template): update link text from "阅读原文" to "Read Original"

* fix(route): fix hard code issuses

* fix(route): remove DOCTYPE declaration and HTML elements

* fix(route):remove logger

* feat(route): 为ES模块添加__dirname和__filename支持

* Update lib/routes/transformer-circuits/index.ts

---------
2025-03-30 23:06:09 +08:00
ueiu 65a7d50285 feat(route/gamekee): 增加 Gamekee 新闻路由 (#18727)
* feat(route/gamekee): 增加 Gamekee 新闻路由

* feat(route/gamekee): 改用 API 请求列表数据

* feat(route/gamekee): remove timezone offset
2025-03-29 09:40:24 -07:00
Ethan Shen 5b58a1911e feat(route): add Raspberry Pi Official Magazine (#18728)
* feat(route): add Raspberry Pi Official Magazine

* fix typo
2025-03-29 10:57:59 +08:00
ADAM HUANG 81504f7f72 feat(route): add transformer-circuits (#18729)
* feat(route): add transformer-circuits

* fix(route): try to fix ESLint

* fix(route): use .map()
2025-03-28 18:59:00 -07:00
uuwor 994abe131b feat(route): A new routing (tzggcdunews.ts) for https://news.cdu.edu.cn/tzgg.htm has been created (#18713)
* 为jwgg.ts添加了部分注释;新建了路由tzggcdunews.ts

* Update jwgg.ts

Indentation has been added after the comments '//' or '/*'

* Update tzggcdunews.ts

Indentation has been added after the comments '//' or '/*'

* Update jwgg.ts

Adjusted Code format

* Update jwgg.ts

完整的 URL:在 url 字段中添加了协议部分(https://)。
选择器修正:直接在 title 中查找 <a> 标签而不是 tr.odd a,这减少了选择器的复杂度。
日期匹配检查:加入了对 dateMatch 的检查,以防止运行时错误。
使用模板字符串:在构建 link 时使用模板字符串,使代码更易读。
过滤无发布日期的项目:在返回结果时,过滤掉那些没有发布日期的项,以确保输出的数据质量。

* 重写tzggcdunews.ts;还原jwgg.ts

* Update lib/routes/cdu/tzggcdunews.ts

---------
2025-03-29 01:46:50 +08:00
Tony 9b6e008bc6 feat(sciencedirect): add current issue (#18716) 2025-03-27 23:59:53 +08:00
Outvi V 6084cdea0f docs(spotify/playlist): add notes on Spotify restriction (#18715)
* docs(spotify/playlist): add notes on Spotify restriction

see-also: #18288

* docs: use warning note block

* chore: syntax

---------
2025-03-27 22:39:41 +08:00
Tony 0278afe483 fix(idaily): optional tags (#18714) 2025-03-27 21:55:33 +08:00
Jiahao Lee bf17e9cb9e feat(route): add 触乐 (#18698)
* feat(route): add 触乐

* feat(chore) add radar rules for 触乐

* feat(chore): add additional ChuApp routes for radar discovery

* feat(chore): fix timestamp for ChuApp

* feat(chore): fix ESLint warning in ChuApp: use `toArray()` instead

* feat(chore): fix ESLint warnings for ChuApp

* fix(format): fix description indentation for ChuApp

* fix(format): rename ChuApp route to be more specific

* refactor(route/hrbeu): fix link

* fix(route): ChuApp: use the full url path as the cache key

---------
2025-03-27 13:36:03 +08:00