Commit Graph
8092 Commits
Author SHA1 Message Date
Cason Kervis 5f662c2eec feat(icon): add RSSHub icon in SVG format (#19887) 2025-08-22 21:28:13 +08:00
DIYgod 532619a8c2 fix(tests): update expected values and increase timeout for Puppeteer tests
- Adjusted expected values in error handling tests to reflect updated application behavior.
- Increased timeout for Puppeteer tests from 20 seconds to 45 seconds to accommodate longer loading times.
2025-08-22 17:45:39 +08:00
DIYgod 3bf8f1ea90 fix(xiaohongshu): update guid generation in getUserFeeds function
- Changed the guid assignment to use noteCard.displayTitle instead of constructing a URL, simplifying the logic and improving clarity.
2025-08-22 17:29:53 +08:00
DIYgod 3faaedf213 feat(xiaohongshu): implement Captcha handling in getUser function
- Enhanced the getUser function to check for captcha presence by waiting for the #red-captcha selector.
- Introduced CaptchaError to throw a specific error message when captcha is detected, improving error handling for users.
2025-08-22 15:22:55 +08:00
DIYgod f51da43fb7 feat(errors): add CaptchaError handling and related tests
- Introduced a new CaptchaError class to handle captcha-related errors.
- Updated the dynamic route to throw CaptchaError when encountering specific error codes.
- Added tests for CaptchaError to ensure proper error handling in the API.
2025-08-22 15:17:16 +08:00
DIYgod fb1613c252 refactor(xiaohongshu): enhance puppeteer integration in getUser function
- Updated the getUser function to utilize getPuppeteerPage for improved page handling.
- Simplified request interception logic by moving it into the new function.
- Ensured proper resource management by replacing browser.close() with destory().
2025-08-22 13:19:05 +08:00
Tsung-Han Yu d522b5a8aa feat(route): add hrt tech blog (#19856)
* feat: add AGENTS.md

* feat: add hrt blog route

* refactor: simplify logic

* fix: change folder name to hudsonrivertrading

* refactor: use template literal
2025-08-22 07:34:04 +08:00
Ethan Shen 76ec3f639f feat(route): add 夏柔每日新闻 (#19886) 2025-08-22 02:56:53 +08:00
Ethan Shen 9e48d6993a feat(route): add 6v电影 (#19867)
* feat(route): add 6v电影

* fix typo

* fix: move to 6v123
2025-08-20 23:21:17 +08:00
GhhG123 e80dde7ff8 feat(route): add shu global and xxgk routes (#19875)
* feat(route): add shu global and xxgk routes

* Update xxgk.ts
2025-08-20 22:48:09 +08:00
Tony dfb7835907 feat(route/immich): add cursed knowledge (#19877) 2025-08-20 22:30:27 +08:00
mukelongji 18596a3d2b fix(route/mihoyo/sr): 使用 timezone 指定正确时区 (#19863) 2025-08-19 22:11:07 +08:00
mukelongji 8a6469cd78 fix(route/mihoyo/zzz): 调整到正确的时区 (#19861)
* fix(route/mihoyo/zzz): 在源时间中添加'+0800',调整到正确的时区

* fix(route/mihoyo/zzz): 使用 timezone 指定时区
2025-08-18 21:06:19 +08:00
Ethan Shen 60ba70d139 feat(route): add bookwalker (#19857) 2025-08-18 04:52:40 +08:00
AiraNadihandAiraNadih 4d84e1c14e fix(routes): add Accept header to fetch data for coomer / kemono (#19851)
Co-authored-by: AiraNadih <AiraNadih@users.noreply.github.com>
2025-08-16 21:50:08 +08:00
DIYgod fb6d4f3689 refactor(route/bilibili): optimize username and face caching logic 2025-08-16 16:23:23 +08:00
DIYgod 396bc0c2f2 fix(route/bilibili): use logical OR for author and face fallback 2025-08-16 16:00:36 +08:00
Ethan Shen f45039f70e feat(route): add Gitstar Ranking (#19850)
* feat(route): add Gitstar Ranking

* Apply suggestions from code review

---------
2025-08-16 07:56:04 +08:00
Tsung-Han Yuandgoogle-labs-jules[bot] 1295392fe7 feat(route): add commonhealth route (#19842)
* fix: #7

This commit adds a new RSS route for commonhealth.com.tw.

The route was requested in issue #7. The implementation is based on the existing structure of other routes in the project.

It was discovered during development that a partial implementation of this route already existed in the codebase. This commit completes the implementation by registering the route in the router.

Note: This commit includes some unnecessary files and a disabled pre--commit hook. This is due to a technical issue with the development environment where the pre-commit hook was failing and preventing any file modifications, including the cleanup of these files.

* feat: add commonhealth route

* fix: feed incomplete issue

- setting viewport to 1920x1080 is crucial
- turn anticralwer off as it's not needed

* feat: add thumbnail

* refactor: remove unused code and files

- fix warning and refactor deprecated code
- use logger instead of console.log

* refactor: use api instead of puppeteer

* fix: path issue

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-08-16 00:11:58 +08:00
mukelongji ff3ea5ade3 feat(route): add 绝区零新闻资讯 (#19840) 2025-08-15 22:41:45 +08:00
DIYgod b7955d0d6e fix(threads/utils): update URLs to use the correct domain for Threads 2025-08-15 19:14:29 +08:00
Joe WuandJoe Wu 6e689c4e0b fix(route/setn): fix incorrect timezone & title & author (#19778)
* fix(route/setn): fix incorrect timezone & title & author

- timezone: Timezone error, 8-hour difference
- title: Should use complete title from content, as current page title is only a short version
- author: Fix data source extraction

* refactor: remove IIFE in head JSON parsing

* refactor: remove IIFE in head JSON parsing

---------

Co-authored-by: Joe Wu <joecwu@tvbs.com.tw>
2025-08-14 23:34:37 +08:00
Stephen Zhou b630afc51a feat(route/bilibili): config to include subtitles or not (#19834)
* feat(route/bilibili): config to include subtitles or not

* update

* update
2025-08-14 11:05:15 +08:00
github-actions[bot] 25f8cd5e63 style: auto format 2025-08-14 02:55:48 +00:00
Stephen Zhou 4e8c8fb27a fix(route/youtube): cache getSubtitles (#19811)
* fix(route/youtube): cache getSubtitles

* fix null description
2025-08-14 10:53:41 +08:00
Ethan Shen 11108cb079 feat(route): add 未知文明 (#19829)
* feat(route): add 未知文明

* fix typo

* fix typo
2025-08-14 10:50:51 +08:00
AiraNadihandAiraNadih b92a827c2b fix(routes): update API path to fetch post data for coomer / kemono (close #19832) (#19833)
Co-authored-by: AiraNadih <AiraNadih@users.noreply.github.com>
2025-08-14 09:36:53 +08:00
huanfei 2a0ecf7236 fix: update PornHub radar (#19830)
* fix: update pornhub radar

* fix: update
2025-08-14 01:13:20 +08:00
Tony fa08a9dbd3 fix(route): line today regex (#19828) 2025-08-13 23:53:16 +08:00
Tsung-Han Yuandgoogle-labs-jules[bot] c65d8d6ae3 feat(route): Add 英語之家 - The Home of English feed (#19814)
* feat: add feed for englishhome

* fix: route issues

- add namespace.ts
- fix date parsing

* fix: route name and description

* refactor: use wordpress api

* fix: remove CDATA section

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-08-13 02:21:47 +08:00
marcosteam a9aa467093 feat(route/nio): add NIO Radio route (#19782)
* feat(route/nio): add NIO Radio support

* fix(nioradio): update pubDate to use onlineTime instead of updateTime
refactor(namespace): remove unnecessary  field

* fix(nioradio): improve formatting and adjust podcast fetching parameters

* fix(nioradio): convert podcast duration from milliseconds to seconds
2025-08-12 20:29:04 +08:00
de263cbba0 feat(route): add jwb of dgut (#19792)
* Add files via upload

* Add files via upload

* Delete dgut directory

* Add files via upload

* style: auto format

* Update jwb.ts

* Add files via upload

* style: auto format

* Add files via upload

* style: auto format

* Update namespace.ts

* Add files via upload

* Update jwb.ts

* Update lib/routes/dgut/jwb.ts

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

* Update lib/routes/dgut/jwb.ts

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

* Update lib/routes/dgut/jwb.ts

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

* Update lib/routes/dgut/namespace.ts

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

* Update jwb.ts

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-12 20:10:57 +08:00
Yeye 59a757dccb feat(route): add 四川人社厅人事考试专栏 (#19799)
* feat(route): add 四川人社厅人事考试专栏

* fix(route/scpta): address code review feedback

1. Remove indentation in description table
2. Got usage to single-line style
3. Return html content instead of plain text

Refs: #19799
2025-08-12 19:24:49 +08:00
Zifan Hua ad01222209 feat(routes): add ZJU School of International Studies routes (#19783)
* feat(routes): add ZJU School of International Studies routes

* feat: Add URL field to ZJU SIS route configuration

* fix: use title attribute for news items

* fix: remove indent for description

* fix: remove all notifications

* fix: use map instead of push
2025-08-12 03:10:38 +08:00
Tsung-Han Yuandgoogle-labs-jules[bot] a89d26e5ea feat(route): Add RSS feed for MIT HAN Lab Blog (#19795)
* feat: Add RSS feed for MIT HAN Lab Blog

- add a new RSS feed for the MIT HAN Lab blog (https://hanlab.mit.edu/blog), available at the route `/mit/hanlab/blog`.
- include the title, link, date, and a TL;DR snippet for each post.

* Update lib/routes/mit/hanlab.ts

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-08-12 02:10:34 +08:00
Ethan Shen 28d93675a8 feat(route): add Digital Policy Alert Activity Tracker (#19808)
* feat(route): add Digital Policy Alert Activity Tracker

* fix typo
2025-08-12 01:53:40 +08:00
Stephen Zhou 7e81995135 feat(route/bilibili): subtitle (#19771)
* feat(route/bilibili): subtitle

* chore: update
2025-08-12 00:04:19 +08:00
DIYgod bbe768246f feat: vercel compatibility 2025-08-11 21:39:03 +08:00
Kenny FongandKenny Fong 5f00a5e92a fix(route/gamer): 熱門推薦 改為 本板推薦 (#19796)
Co-authored-by: Kenny Fong <kennyfong@shkp.com>
2025-08-11 19:12:41 +08:00
DIYgod 20b67e1402 chore: add Vercel build configuration
- Introduced a new build script for Vercel in package.json.
- Created a new tsdown configuration file for Vercel deployment.
- Updated tsconfig.json to remove the deprecated vercel.ts file from the include path.
- Added a new server entry point for compatibility with Vercel's deployment.
2025-08-10 18:34:16 +08:00
Ethan Shen bef0e52883 feat(route): add 搬书匠 (#19786)
* feat(route): add 搬书匠

* fix typo
2025-08-10 01:31:46 +08:00
Tony cc983c878b feat(route/modelscope): add learn (#19787) 2025-08-10 01:20:15 +08:00
github-actions[bot] 78ac310252 style: auto format 2025-08-09 14:14:35 +00:00
Feixinandfeixin 96e22de994 feat(routes/neu): add yz route (#19737)
* feat(routes/neu): add yz route

* fix: Cache the return object

* fix: eslint error

* fix: solve eslint error

* fix: update resultItem type to DataItem

---------

Co-authored-by: feixin <paintstar000@outlook.com>
2025-08-09 22:12:36 +08:00
Ethan Shen 84d8a388ad feat(route): add TiDB社区专栏分类 (#19715)
* feat(route): add TiDB社区专栏分类

* fix typo

* fix typo

* fix typo
2025-08-08 22:51:54 +08:00
tssujt a6cae9afbb feat(route/meteoblue): add namespace and weather news route (#19770) 2025-08-08 19:26:09 +08:00
AiraNadihandAiraNadih e0bde128f2 fix(radar): correct target paths for coomer and kemono routes (#19775)
Co-authored-by: AiraNadih <AiraNadih@users.noreply.github.com>
2025-08-08 05:23:03 +08:00
CedaricandTony 4b28fe7648 feat(route/zhizhuan100): add new route and update maintainer (#19750)
* feat(zhizhuan100): add new route and update maintainer

* refactor: use modern Unicode APIs and improve error handling

* Update lib/routes/zhizhuan100/report.ts

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

* refactor(zhizhuan100): use cheerio, clean headers, simplify decoding, filter invalid items

* Update lib/routes/zhizhuan100/report.ts

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

* refactor: simplify Body.js script selection with CSS selector

---------
2025-08-08 03:14:19 +08:00
Nishant Singh c7ab000a0e feat(route/thewirehindi): add routes (#19727)
* add hindi

* init

* add image in content

* remove hindi

* remove variables
2025-08-08 01:05:31 +08:00
Tony cca3733810 fix(route/sohu): add auth token (#19774)
* fix(route/sohu): add auth token

* fix(route/sohu): update selector for publication date
2025-08-07 22:55:27 +08:00