Commit Graph
8477 Commits
Author SHA1 Message Date
TonyandCopilot 8f4392d32a feat(route/nea): add nea bureaux (#21013)
* feat(route/nea): add nea bureaux

* Update lib/routes/gov/nea/bureau.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-30 10:28:21 +08:00
Donie Leigh 9ae9d53d2e fix(route/openai): fix chatgpt release notes extraction (#20971)
* fix(route/openai): fix chatgpt release notes extraction

- Use Puppeteer to bypass Cloudflare protection
- Extract content from rendered HTML instead of React Router data
- Use .html() to preserve formatting, links and styles in descriptions
- Support h2-h6, ul/ol, p, and other HTML elements

* refactor(route/openai): use ofetch instead of puppeteer for chatgpt release notes

- Use ofetch to fetch page content
- Simplify description extraction with prop('outerHTML')
- Use map() instead of each() + push()
- Use config.cache.routeExpire for cache duration

* fix: use first h2 as title, fallback to h1 date if h2 missing
2026-01-30 00:27:18 +08:00
5b144a6692 fix(route/nuist): update bulletin route for new website structure (#21004)
* Update bulletin.ts

* style: auto format

* Update bulletin.ts

* style: auto format

* Refactor bulletin route to improve data extraction

fix: apply code review suggestions (selector, radar, author)

* style: auto format

* Update lib/routes/nuist/bulletin.ts

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

* Update lib/routes/nuist/bulletin.ts

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

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-29 13:59:38 +00:00
MMA 07cd821cd2 feat(route): add support for dailypush.dev (#20972)
* add support for dailypush.dev

* fix base url

* use map over push

* remove unnecessary option

* remove unnecessary option

* change tag route

* fix

* fix base url
2026-01-27 23:39:14 +08:00
后稷 05437e4252 feat(route/zzu math & sxy): add math and business department route (#20970)
* feat(route/zzu math & sxy): add math and business department route
- Add new route for Zhengzhou University School of Mathematics
- Add new route for Zhengzhou University Business School

* fix(zzu/sxy): 少量修复内容
2026-01-27 08:49:45 +08:00
Donie Leigh 3feaff89fd feat(route): Add ChatGPT Atlas release notes route (#20969)
* Add ChatGPT Atlas release notes route

- Add route: /openai/chatgpt-atlas/release-notes
- Parse release notes from OpenAI help center
- Use Puppeteer to bypass Cloudflare protection
- Extract build version, date, and content sections
- Cache results for 24 hours
- Proper resource cleanup (browser.close())

* Add ChatGPT Atlas release notes route

- Add route: /openai/chatgpt-atlas/release-notes
- Parse release notes from OpenAI help center
- Use Puppeteer to bypass Cloudflare protection
- Extract build version, date, and content sections
- Cache results for 24 hours
- Proper resource cleanup (browser.close())
2026-01-27 01:48:26 +08:00
dreaifekks 895672f5ea docs: Clarify YouTube API key(YouTube Data API v3 enable) requirement for live route (#20974)
* Add CLI script for youtube live lookup

* Make youtube live debug script standalone

* Update YouTube API key requirement docs

* Clarify YouTube API key requirement for live route

* Adjust YouTube live API key docs

* Enhance YOUTUBE_KEY description with API link

Updated the description for the YOUTUBE_KEY configuration to include a link to the YouTube Data API v3.

* Update youtube Data API v3 enable doc url
2026-01-26 22:26:21 +08:00
Circloud 7ae15a88bc feat(route): add XJTLU news route (#20966)
* feat(route): add XJTLU news route

* feat(route): update feed title format

* refactor(route/xjtlu): move "all" category into categories object

* fix(route/xjtlu): remove unnecessary category parameter from radar rules

* fix(route/xjtlu): replace generic error handling with custom one
2026-01-26 13:00:05 +08:00
Circloud 2e756e027d fix(route/baoyu): handle HTTP redirect for feed.xml (#20968) 2026-01-25 19:18:39 +08:00
sheetung ad3acba9ce feat(route): add gzjy routes (#20954)
* add gzjy routes

* Update lib/routes/gov/guizhou/jyt.ts
2026-01-25 03:37:24 +08:00
Donie Leigh 8ce077182a fix(route/perplexity): update changelog title selector for new page structure (#20964)
The page now uses h4 instead of p for titles. Updated selector from
`[data-framer-name="Title"] p` to `[data-framer-name="Title"]` and added
URL slug fallback when title element is not found.
2026-01-25 02:26:22 +08:00
jxtan 71d5ded520 feat(route): add maoyan (猫眼电影) routes (#20956)
* feat(route): add LinuxDo RSS routes

- Add /linux-do/posts route for latest posts
- Add /linux-do/top/:period route for trending topics with period filter
- Optimize /linux-do/latest route
- Update namespace documentation with descriptions
- Handle Zstandard compression by using Accept-Encoding: identity

* revert: remove linux-do routes (PR rejected)

* feat(route): add codefather (编程导航) routes

- Add posts route with hot/new/recommend sorting and category filter
- Add questions route with new/hot sorting
- Support for 编程导航 programming community

* fix: address all PR review comments

- Reorder path params: category before sort
- Remove config.trueUA (not needed)
- Use upvotes/comments fields instead of description
- Remove title slicing
- Change default sort to 'new'
- Remove title from description
- Remove content truncation

* feat(route): add maoyan (猫眼电影) routes

Add three new routes for Maoyan:
- /maoyan/box - Real-time box office ranking
- /maoyan/hot - Currently showing movies
- /maoyan/coming - Upcoming movies

* fix: address PR review comments

- Remove author field from box.ts (releaseInfo is not author)
- Remove unnecessary mobile User-Agent from coming.ts and hot.ts
2026-01-24 13:43:07 +08:00
后稷 417b943241 feat(route): add ZZU (Zhengzhou University) routes (#20941)
* feat(route): add ZZU (Zhengzhou University) routes

Add routes for Zhengzhou University departments:
- news: 新闻网 (要闻速递、教学科研、基层动态、媒体郑大)
- tzhb: 党委统战部 (工作动态、通知公告)
- dzb: 党政办 (新闻资讯、通知公告)
- dwzzb: 党委组织部 (党建工作、干部工作、人才工作、乡村振兴工作)
- xuan: 党委宣传部 (工作动态、通知公告)
- rsc: 人事部 (人事要闻、通知公告、招聘公告)
- jwc: 教务部 (新闻快递、通知公告)
- student: 学生处 (新闻资讯、通知公告)
- kjc: 科研院 (新闻资讯、通知公告)
- ss: 社科院 (新闻资讯、通知公告)
- zcycwb: 资产与财务部 (新闻资讯、通知公告)
- gs: 研究生院 (新闻资讯、通知公告)
- xbx: 校长办 (新闻资讯、通知公告)

* refactor(routes): replace puppeteer with API in dwzzb and fix code style issues

- refactor(dwzzb): use /mp/portal/article/list API endpoint instead of puppeteer
- refactor(all zzu routes): rename type_dict to typeDict (camelCase)
- refactor(dzb, tzhb): remove useless mapping operations
- fix: update maintainers from 'misty' to 'amandus1990'

* refactor(routes/zzu): optimize code style and fix date format

- refactor(student): convert date format from 'yyyy年mm月dd日' to RFC 2822
- fix(tzhb): correct radar URL (hhttps -> https)
- refactor: simplify typeDict formatting across all routes
- refactor: adjust slice limits for better pagination (20 -> 10/15)
- refactor(gs, jwc): simplify title extraction and date cleaning

* fix(routes/zzu): fix date parsing and radar source URLs

- fix(ss): handle different date formats for xwzx (MM-DD) and tzgg (yyyy-mm-dd)
- fix(student): parse Chinese date format (yyyy年mm月dd日) using regex instead of Date constructor
- refactor(all zzu routes): remove protocol from radar[].source URLs
- radar rules can only match URL pathname, not protocol or query strings
2026-01-24 07:53:17 +08:00
Donie Leigh 70576d03a8 feat(route): fetch full content for changelog items (#20953)
* feat(perplexity): fetch full content for changelog items

- Fetch full article content for each changelog item
- Use Puppeteer to render JavaScript-rendered pages
- Remove hero image from description
- Cache parsed content using cache.tryGet

* fix(perplexity): resolve review comments
- Simplify CSS selector for content extraction
- Fix dangling promises issue by properly returning and using Promise results
- Ensure cache mechanism works correctly by returning new objects instead of mutating
- Remove redundant fallback logic
2026-01-24 01:18:15 +08:00
Tony 803c6fc547 fix(route/slashdot): fix import typo 2026-01-24 00:33:13 +08:00
DIYgodandClaude Haiku 4.5 c90e71c359 feat(xiaohongshu): add proxy configuration support (#20952)
Allow xiaohongshu routes to bypass anti-scraping measures by routing requests through a configurable proxy. When XIAOHONGSHU_PROXY is set, all xiaohongshu HTTP requests (user, board, notes) will be routed through the proxy endpoint instead of using Puppeteer.

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-22 17:17:04 +08:00
jxtan 4c4cbbad1a feat(route): add codefather (编程导航) routes (#20922)
* feat(route): add LinuxDo RSS routes

- Add /linux-do/posts route for latest posts
- Add /linux-do/top/:period route for trending topics with period filter
- Optimize /linux-do/latest route
- Update namespace documentation with descriptions
- Handle Zstandard compression by using Accept-Encoding: identity

* revert: remove linux-do routes (PR rejected)

* feat(route): add codefather (编程导航) routes

- Add posts route with hot/new/recommend sorting and category filter
- Add questions route with new/hot sorting
- Support for 编程导航 programming community

* fix: address all PR review comments

- Reorder path params: category before sort
- Remove config.trueUA (not needed)
- Use upvotes/comments fields instead of description
- Remove title slicing
- Change default sort to 'new'
- Remove title from description
- Remove content truncation
2026-01-22 11:52:22 +08:00
Tony e9e8cb0845 feat(route): add typeless changelog (#20943) 2026-01-22 09:30:02 +08:00
Tony 02826c6d9c feat(route): add slashdot (#20942)
* feat(route): add slashdot

* chore: apply changes
2026-01-22 07:02:53 +08:00
Radon Rosborough 685598f0f8 feat(route): add bvisness.me blog route (#20929) 2026-01-21 00:36:03 +00:00
DIYgodandClaude Haiku 4.5 25cd9f1a28 feat: add Cloudflare Containers deployment support (#20932)
- Create Container Worker entry point with load balancing (20 instances)
- Add wrangler-container.toml configuration with KV binding for environment variables
- Configure container to use standard-1 instance type with Chromium support
- Implement dynamic environment variable loading from Cloudflare KV

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-20 15:29:13 +08:00
Donie Leigh 77b7763cd7 feat(route): add perplexity changelog route (#20919)
* feat(route): add perplexity changelog route

* fix: address review comments

- Use ^= instead of *= for href selector
- Remove CSS-in-JS class selector (framer-styles-preset-16bzrdu)
- Use map instead of each + push
- Remove HTML caching (per review feedback)
- Fix date format parsing (MM.DD.YY not YY.MM.DD)
- Fix summary selector fallback logic
- Update maintainer to xbot
2026-01-20 03:13:50 +08:00
dd5e1ffcf8 feat(route): Add GanjingWorld (#20086)
* Created route for channel videos

* chore: updated route name

* feat: add short video route

* Added Article Route

* Added Posts Route

* chore: change file name

* chore: reorder folder structure

* Update lib/routes/ganjingworld/namespace.ts

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

* fix(route/ganjingworld): fix target url; fix repeated name, fix redundant parsing, fix video poster attribute, fix naming convention

* fix(route/ganjingworld) fix examples

* fix(route/ganjingworld) fix optional empty string

* chore(route/ganjingworld): fix example link

* style: auto format

* New files from Fly.io Launch

* Revert "New files from Fly.io Launch"

This reverts commit 71d9f42f5f0073f35bc34ac4e9417e4a4a1d94fc.

* Fix: resolved requested changes

* fix: implement suggested changes

* fix: fix variable names

* fix: update error messages and improve data handling in Ganjing World routes

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Fly.io <noreply@fly.io>
Co-authored-by: fly-io[bot] <52462049+fly-io[bot]@users.noreply.github.com>
2026-01-20 01:14:22 +08:00
Tony ac1a0230ce feat(route): discord quests (#20911)
* feat(route): discord quests

* fix(route): handle missing Discord authorization config
2026-01-18 08:58:27 +08:00
Chen YangandMike Chen 4c7e027ff3 feat(route): add mrinalxdev blog RSS route (#20909)
Co-authored-by: Mike Chen <yang.chen.mike@gojek.com>
2026-01-18 03:25:24 +08:00
redwood9 06858d215d feat(route): add ai-bot daily-ai-news route (#20851)
* feat(route): add ai-bot daily-ai-news route

* feat(route): add ai-bot daily-ai-news route

* refactor(route/ai-bot): use flatMap and parseDate utility

- Replace push with flatMap for cleaner code
- Use RSSHub's parseDate utility instead of custom Date creation

* refactor(route/ai-bot): use timezone utility instead of hardcoded time
2026-01-17 21:05:01 +08:00
Pilgrim Lyieu 8bb3d6f019 feat(bilibili): add messages routes (#20890)
* feat(bilibili): add messages routes

* fix(bilibili/message): do not display summary when no unread messages

* fix(bilibili/message): update cache duration to use configurable routeExpire
2026-01-16 01:34:43 +00:00
TonyandCopilot c21c82fc05 feat(route/digg): add digg community posts (#20900)
* feat(route/digg): add digg community posts

* Update lib/routes/digg/community.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-15 22:01:16 +08:00
Vanilla 3ecf9ee350 fix(lib/registry.ts): Allow hide debug info. (#20891) 2026-01-15 19:33:36 +08:00
YuRuiH bef22f9500 feat(route): add some nowcoder route (#20712)
* feat(route): add nowcoder hots content route

* refactor(nowcoder): use query param for hots size

* feat(route): add nowcoder interview experience

* fix(nowcoder/interview): align interview route with RSSHub conventions

* fix(nowcoder/hots): align hots router with RSShub conventions

* fix(nowcoder): polish hots route
2026-01-15 17:03:49 +08:00
Tony 671f05e645 fix(route/rsshub): route updates (#20888)
* fix(route/rsshub): route updates

* fix(handler): simplify data parsing and improve route link formatting
2026-01-15 05:40:50 +08:00
Samuel.G 1f3b11c919 feat(route): add lancedb blog route (#20886)
* feat: add lancedb blog

* resolve comment
2026-01-15 03:04:11 +08:00
Pilgrim Lyieu 0e48234e14 fix(github): allow empty notifications feed (#20875)
* fix(github): allow empty notifications feed

* fix(github): set `allowEmpty` to be always true
2026-01-13 23:07:20 +08:00
Pesy Wu 8225bb113a feat(route): Adapt to the latest parameters of GDUT oas site and correct the name of the site (#20860)
* feat: Adapt to the latest parameters of GDUT oas site and correct the site name

* docs: Add more information for GDUT oas route

* style: removed unused property `publish`

* fix: change the wrong key name of publish date that causes incorrect time in feed

* style: removed useless remark after removing `publish`
2026-01-13 11:12:45 +08:00
Tony b22fdd8c91 fix(route): remove rejectUnauthorized option (#20864)
ofetch and undici simply ignore it
2026-01-13 10:35:10 +08:00
Tony af2592b10a style: fix no-useless-concat 2026-01-13 03:53:08 +08:00
Tony 6dba3aa744 style: fix eslint issues (#20862)
* style: fix n/no-deprecated-api

* style: fix no-useless-escape

* style: fix default-case

* style: fix unicorn/prefer-string-slice

* feat!: remove informedainews

the site is gone
2026-01-13 03:25:37 +08:00
Tony 242bba6713 fix(route/javbus): remove avgle api usage (#20861) 2026-01-13 00:38:10 +08:00
Stephen Zhou f733a033a4 chore: migrate to oxfmt (#20735)
* chore: migrate to oxfmt

* update

* chore: update

* chore: update

* chore: update
2026-01-13 00:06:06 +08:00
dependabot[bot]andTony 12eece429c chore(deps): bump otplib from 12.0.1 to 13.0.2 (#20855)
* chore(deps): bump otplib from 12.0.1 to 13.0.2

Bumps [otplib](https://github.com/yeojz/otplib/tree/HEAD/packages/otplib) from 12.0.1 to 13.0.2.
- [Release notes](https://github.com/yeojz/otplib/releases)
- [Commits](https://github.com/yeojz/otplib/commits/v13.0.2/packages/otplib)

---
updated-dependencies:
- dependency-name: otplib
  dependency-version: 13.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* fix: migrate to otplib v13

---------

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>
2026-01-12 23:49:56 +08:00
TimoYoung 1851236be6 fix(route/huxiu): adapt to Nuxt 3 data structure and update API endpoints (#20843)
* fix(route/huxiu): adapt to Nuxt 3 data structure and update API endpoints

- fix article parsing by adding suppmort for Nuxt 3 __NUXT_DATA__ format
- Update channel, club and tag's API endpoints and channel route
- Remove deprecated brief-column route

* set antiCrawler tag, disable bt support tag

* fix(route/huxiu): handle request failures gracefully in fetchItem; add maintainer info

* refactor(route/huxiu): remove unused fetchBriefColumnData and update club example

* refactor(route/huxiu): reduce function complexity in util.ts

- Extract buildCategories() for category array construction
- Extract resolveItemIdentifiers() for guid/link resolution
- Extract extractCounts() for upvotes/downvotes/comments extraction
- Extract extractAuthor() for author field extraction
- Extract extractImageSrc() for image URL extraction
- Extract mapItem() to simplify processItems() map callback
- Simplify fetchItem() by using direct object return
- Simplify processItems() control flow with boolean variables

These changes reduce cyclomatic complexity reported by CodeFactor
for functions at lines 164-218 and 440-490.
2026-01-11 00:39:52 +08:00
Tony 2079d36765 test: double worker test timeout 2026-01-09 23:12:27 +08:00
King-of-Infinite-Space 18c78d538b fix(route/douban): support new status card format (#20827) 2026-01-09 06:48:17 +08:00
Tony 69d022c89f fix(route/18comic): update apiDomain (#20835)
* fix(route/18comic): update apiDomain

* docs: add back maintainer information from #8588

* Update utils.ts
2026-01-09 06:35:29 +08:00
chris zheng 3f7f5848ba feat: add route for maven central (#20820)
* feat: add route for maven central

* fix: change sort api to Array#toSorted

* Update lib/routes/maven/central.ts

* fix: update url for maven namespace

* fix: use category to tag items

- remove custom query param
- add categories for route

* fix: ensure pubDate contained in data item

* fix: extract date regex into a constant for better readability

---------
2026-01-08 01:13:27 +08:00
H. KamranandTony 7ec4876202 feat(route): add NYC Mayor's Office news (#20811)
* feat(route): add NYC Mayor's Office news

* feat(route/nyc): add types and categories to path

* feat(route/nyc): use `en-us` language

* feat(route/nyc): use parameter object

* feat(route/nyc): add article image

* feat(route/nyc): update radar rules

* fix(route/nyc): update extension assignment, add base URL prefix

* feat(route/nyc): update feed link with types and categories

* Add category

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

* Remove extension to prevent redirect

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

* Update namespace name

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

* fix(route/nyc): remove duplicate `categories` key

* feat(route/nyc): use common title-case function

---------
2026-01-07 12:09:37 +08:00
sddikyandCopilot b173c13614 fix(route/50forum): 匹配变更后的文章列表网址和样式 (#20815)
* 修复中国经济50人论坛专家文章(/50forum),匹配变更后的文章列表网址和样式。

* Update lib/routes/50forum/zhuanjia.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update lib/routes/50forum/zhuanjia.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-07 11:45:19 +08:00
Shine d6a665b772 fix: Update Shopify App search description selector (#20814) 2026-01-05 23:26:24 +08:00
DIYgodandClaude Haiku 4.5 ffb226c32c fix: increase worker integration test timeout to 60s (#20810)
The first two integration tests were timing out in CI environments because the Worker initialization takes longer than 30 seconds. This change increases the timeout from 30 seconds to 60 seconds for these tests.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-04 18:00:09 +08:00
DIYgodandClaude Haiku 4.5 d40f812563 refactor: deploy all routes to Cloudflare Workers (#20809)
- Remove Worker-specific route filtering (worker_namespaces) to include all 1537 namespaces in Worker builds
- Remove popularity analytics logic (foloAnalysisTop100) as Worker can now handle all routes
- Update node:child_process alias in tsdown config to use dedicated shim file
- Inline child_process shim in node-module.ts to avoid import cycles
- Fix tough-cookie import in telecompaper route (use named import CookieJar)
- Remove ESModule rules from wrangler.toml (not needed)

This enables full RSSHub functionality on Cloudflare Workers with no memory/size limitations.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-04 17:33:55 +08:00