Commit Graph
7733 Commits
Author SHA1 Message Date
Tony 2650ecc1dc fix(route/tfc-taiwan): rework route (#18930) 2025-04-23 23:37:20 +08:00
Tony df320988d0 refactor: replace tiny-async-pool with p-map (#18928)
* refactor: replace tiny-async-pool with p-map

* fix: use original concurrency
2025-04-23 21:02:10 +08:00
Tony 78757950aa fix(route/news): use p-map to limit concurrency (#18927) 2025-04-23 19:28:30 +08:00
Tony 4b0215d29d fix(route/telegram): fix import style (#18926) 2025-04-23 18:54:26 +08:00
Ethan Shen 459760046b feat(route): add AFL-CIO Blog (#18905) 2025-04-23 03:20:35 +08:00
Ethan Shen 0426a88fbd feat(route): add 10000万联网 (#18913)
* feat(route): add 10000万联网

* fix: remove esm shims

---------
2025-04-23 03:03:18 +08:00
DIYgod 83e701b592 feat: compile ts through tsdown (#18908)
* feat: build ts via tsdown

* feat: exec tsdown

* fix

* fix

* fix

* feat: use tsdown shims

* chore: run rolldown lifecycle script

* fix: use shims

---------
2025-04-22 22:29:11 +08:00
Andvari cf9cb26ef9 feat(route/nytimes): include author information in RSS feed items (#18893) 2025-04-21 12:22:24 +08:00
david90103 7519a06b43 feat(route): add coolpc (#18859)
* feat(route): add coolpc

* fix(route): fix pr issues

* fix(route): fix coolpc time parsing
2025-04-19 22:07:10 +08:00
Ethan Shen ec9390d30c feat(route): add 广告门案例库 (#18887) 2025-04-19 00:28:00 +08:00
pseudoyu 9d74d2a4ae fix(route/domp4): use new domain and ofetch util 2025-04-18 22:58:06 +08:00
pseudoyu 365e641b47 chore(route/jandan): import ofetch from utils 2025-04-17 11:49:24 +08:00
pseudoyu 53d6e9ab74 fix(route/jandan): use official APIs in section logics 2025-04-17 11:27:32 +08:00
Tony bb5bef5e9b fix(route/nea): remove vibe types 2025-04-17 01:33:56 +08:00
Tony 5bdef51407 fix(route/wechat): fetch first page only 2025-04-17 01:32:11 +08:00
Jiahao Lee fe3416146c feat(route): add JPMC Institute (#18818)
* feat(route): add JPMorgan Chase Institute

* feat(route/jpmc): fix page content scraping

* chore(route/jpmc): remove deprecated routes

* fix(route/jpmc): make gh es linter happy

* fix(route/jpmc): not caching the items array
2025-04-16 18:24:41 +08:00
Ethan Shen 14d4d69bf5 fix(route/nea): incomplete description (#18858) 2025-04-16 04:54:24 +08:00
pseudoyu 87a679e265 fix(route/nea): fetch ghs items logic 2025-04-15 17:03:04 +08:00
Nano f17f16bbc4 fix(route/geocaching/blogs): handle cases where large size does not exist (#18855) 2025-04-15 17:02:44 +08:00
pseudoyu 04c0f056a9 fix(route/wechat): fetch sogou wechat articles 2025-04-15 14:54:36 +08:00
pseudoyu 63abb081ed chore(route/sehuatang): forum route name 2025-04-15 11:27:37 +08:00
moppman fdb4325226 fix(route/steam/search): Make hard-coded header image URL dynamic (#18852)
The header image isn't always served via the steamstatic CDN any more, resulting in broken images more often than not. That's why we're now displaying the original smaller image from the search result page.
2025-04-15 00:58:01 +08:00
Goestav 6b302364e8 feat(route): support different languages for the kurogames (wuthering waves) route (#18781)
* feat: add wuthering waves route

* refactor: use arrow functions for better readability

* refactor: remove redundant nullish fallback

* refactor: use Promise.all(...) improve performance

* refactor: reduce complexity of limit parameter logic

* refactor: extract parse integer parameter to its own function

* refactor: add kuro games to namespace name

* refactor: make kurogames route for wuthering waves more flexible

This commit adds support for different languages.

* refactor: remove redundant wuthering waves route

* refactor: add language parameter description

* refactor: fallback to 30 feed items instead of unlimited

* refactor: rename language in description table

* refactor: filter articles beforehand and favour map over flatMap

* refactor: remove redundant code for article filtering
2025-04-14 23:30:19 +08:00
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