Commit Graph
7893 Commits
Author SHA1 Message Date
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
github-actions[bot] d2293eb5db style: auto format 2025-03-26 12:19:06 +00:00
LokHsu 0b8a00b479 fix(route/iplaysoft): Update to use URL scraping due to API deprecation (#18702) 2025-03-26 20:17:07 +08:00
github-actions[bot] 018f8a293e style: auto format 2025-03-26 11:33:26 +00:00
平林木染 e500200116 feat(route): add 哈尔滨工程大学航天与建筑工程学院网站 (#18703) 2025-03-26 19:31:26 +08:00
Ethan Shen b6f35ffe58 feat(route): add 证券时报网热榜 (#18696) 2025-03-26 00:26:26 +08:00
KazooTTT 5c17b8512d feat(asianfanfics): 添加文章描述信息 (#18686)
* feat(asianfanfics): 添加文章描述信息

* refactor(asianfanfics): 移除描述中的作者信息
2025-03-25 20:00:07 +08:00
dependabot[bot]andTony c37c80f38d chore(deps): bump the opentelemetry group with 5 updates (#18637)
* chore(deps): bump the opentelemetry group with 5 updates

Bumps the opentelemetry group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [@opentelemetry/exporter-prometheus](https://github.com/open-telemetry/opentelemetry-js) | `0.57.2` | `0.200.0` |
| [@opentelemetry/exporter-trace-otlp-http](https://github.com/open-telemetry/opentelemetry-js) | `0.57.2` | `0.200.0` |
| [@opentelemetry/resources](https://github.com/open-telemetry/opentelemetry-js) | `1.30.1` | `2.0.0` |
| [@opentelemetry/sdk-metrics](https://github.com/open-telemetry/opentelemetry-js) | `1.30.1` | `2.0.0` |
| [@opentelemetry/sdk-trace-base](https://github.com/open-telemetry/opentelemetry-js) | `1.30.1` | `2.0.0` |


Updates `@opentelemetry/exporter-prometheus` from 0.57.2 to 0.200.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.57.2...experimental/v0.200.0)

Updates `@opentelemetry/exporter-trace-otlp-http` from 0.57.2 to 0.200.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.57.2...experimental/v0.200.0)

Updates `@opentelemetry/resources` from 1.30.1 to 2.0.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/v1.30.1...v2.0.0)

Updates `@opentelemetry/sdk-metrics` from 1.30.1 to 2.0.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/v1.30.1...v2.0.0)

Updates `@opentelemetry/sdk-trace-base` from 1.30.1 to 2.0.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/v1.30.1...v2.0.0)

---
updated-dependencies:
- dependency-name: "@opentelemetry/exporter-prometheus"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: opentelemetry
- dependency-name: "@opentelemetry/exporter-trace-otlp-http"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: opentelemetry
- dependency-name: "@opentelemetry/resources"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: opentelemetry
- dependency-name: "@opentelemetry/sdk-metrics"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: opentelemetry
- dependency-name: "@opentelemetry/sdk-trace-base"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: opentelemetry
...

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

* fix(otel): upgrade to otel v2

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2025-03-25 18:54:32 +08:00
quiniapiezoelectricity c09c06804f fix(route/theinitium): fix css selector (#18695) 2025-03-25 18:27:14 +08:00
Raspberry b404818748 feat(route/mercari): Add route to jp.mercari.com (#18662)
* feat(route/mercari): Add route to jp.mercari.com

* fix: review

* feat: enable cache

* fix: add cache prefix

* fix: fix typo
2025-03-25 16:32:26 +08:00
cnk d24101e8ff fix(routes/academia): adapt to new design (#18684) 2025-03-25 15:27:51 +08:00
Tony 43eb93acb2 feat(telegram): preview sticker (#18682)
* feat(route): preview sticker

* fix: typo
2025-03-24 23:20:24 +08:00
DIYgod b52a37f155 fix: lens example 2025-03-24 23:06:56 +08:00
DIYgod 163a24da26 feat: add lens and farcaster 2025-03-24 22:46:31 +08:00
Andvari aa86e827f8 fix(route/zhihu): Correct API path (#18669) 2025-03-24 16:15:19 +08:00
Ethan Shen e48f05ec0b feat(route): add kpopping pics (#18668) 2025-03-23 16:59:38 +00:00
Tony d619f692b7 fix(copymanga): update domain (#18670) 2025-03-24 00:35:34 +08:00
Tony fd065934a6 fix(wordpress): favicon 2025-03-23 18:54:35 +08:00