8891 Commits
Author SHA1 Message Date
pseudoyu 6a265e9d86 fix: prevent Twitter cache key collisions
Use stable operation names for Web API and Developer API user cache keys instead of anonymous callback names.

Fixes #22864
2026-08-03 00:44:50 +08:00
pseudoyu 88201d26da feat(route/hypergryph)!: remove stale Arknights announce route
The upstream in-game announcement API stopped updating in May 2025. Use /hypergryph/arknights/news/ANNOUNCEMENT instead.
2026-08-03 00:26:43 +08:00
pseudoyuandAmp baa8d99308 fix(route/foresightnews): fetch API via Playwright
Amp-Thread-ID: https://ampcode.com/threads/T-019fc331-8a09-7609-bc48-7ffd887a05d6
Co-authored-by: Amp <amp@ampcode.com>
2026-08-03 00:13:38 +08:00
pseudoyu ec501c4e4e fix(route/freebuf): solve Aliyun WAF acw_sc__v2 challenge
Aliyun WAF answers flagged IPs (such as the rsshub.app demo server)
with an HTTP 405 JS challenge. Solve it with the shared acw_sc__v2
solver and retry with the cookie, and mark the route as anti-crawler.

Fixes #22027
2026-08-03 00:01:12 +08:00
pseudoyu 79ab670b3a fix(route/bloomberg): switch to official RSS feeds as news sitemaps were removed
Bloomberg removed all per-site news sitemaps (/feeds/{site}/sitemap_news.xml
now returns 404), which broke every section of this route.

- Fetch the official RSS feeds (/feeds/{site}/news.rss) instead, via ofetch
  so PROXY_URI and the global request layer still apply
- Update section IDs to match the feeds Bloomberg currently serves, keeping
  bpol/bbiz as backward-compatible aliases of politics/business
- Drop sections Bloomberg no longer provides (green, pursuits, equality,
  citylab); add economics, industries and crypto
- Keep the full-text pipeline; pass the RSS summary through when the story
  API is blocked so degraded items still have a description

Fixes #22787
2026-08-02 23:55:25 +08:00
pseudoyu b0275386f6 fix(route/lhratings): support new daily news list template 2026-08-02 23:48:34 +08:00
Eren Eroğlu 080796cc4f feat(route): add Omega Scans route (#22904)
* feat(route): add Omega Scans route

* fix(route): fix improper error, limit and filters
2026-08-01 03:41:08 +00:00
Tony 54345e0759 fix(route/ximalaya): add back audio enclosure (#22903)
* fix(route/ximalaya): add back audio enclosure

* fix: getXmSign
2026-08-01 01:51:31 +08:00
Tony 6c76f8d134 fix(route/caijing): update API endpoint (#22887)
* fix(route/caijing): update API endpoint

* fix: update feed url

* fix: reuse url
2026-07-30 16:10:25 +08:00
6f50d57298 feat(route/baidu): add BAIDU_COOKIE support and extract shared … (#21663)
* feat(route/baidu): add support for BAIDU_COOKIE in various baidu tieba routes and implement user post retrieval

* refactor(forum): improve code readability and structure in forum.tsx

* feat(post): enhance time parsing and reply link generation in post.tsx

* feat(route/baidu): refactor page content retrieval and enhance cookie handling in forum, post, search, and user routes

* refactor(route/baidu): refactor cookie parsing logic and improve code formatting

- Refactor parseBaiduCookies function to use chained array methods for better readability
- Simplify cookie parsing by trimming and filtering empty strings before mapping
- Remove redundant comments in common.ts and post.tsx files
- Improve code formatting by removing excessive blank lines
- Maintain same functionality while enhancing code maintainability

* feat(route/baidu/tieba): add BAIDU_COOKIE support and extract shared utilities  Add common.ts for cookie parsing, page retrieval, security check and URL normalization. Refactor forum, post, search and user routes to use shared utilities. Preserve rich text content in post replies. Support direct reply links. Fix cookie value parsing for cookies containing '=' character.

Route/baidu

* style(baidu/tieba): fix code formatting and whitespace issues

- Remove trailing whitespace from empty lines
- Ensure consistent line endings in utility functions

* feat(route/baidu): add retry mechanism for transient errors in page content retrieval (#2)

* fix: improve page content retrieval

* style: auto format

* fix: improve URL encoding and enhance content retrieval logic

* feat(route/baidu/tieba): migrate forum route to use client API

Replace Puppeteer-based HTML scraping with direct HTTP API call
to /c/f/frs/page. The API requires BDUSS + MD5 client signature,
eliminating the need for browser rendering and reducing resource
usage. Also updated thread parsing to match the JSON response
structure (thread_list at top level, author via user_list map,
images from first_post_content type 3 items).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* revert: unnecessary changes mentioned in https://github.com/DIYgod/RSSHub/pull/21663#discussion_r3051928062

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-30 12:15:32 +08:00
Tony 32dd0a7590 fix(route/zaobao): update selector (#22876)
* fix(route/zaobao): update selector

* fix(route/zaobao): refine parseList to improve JSON handling and data extraction
2026-07-30 08:19:59 +08:00
Ethan Shen 3645d3411d fix(route): lhratings.com research pdf links (#22866) 2026-07-29 11:09:27 +08:00
Tony 267eb1e615 docs: add back route metadata for unknown routes (#22865)
* fix: add back route metadata

* fix: update route handlers to use ctx.req.param for path retrieval

* fix: add back route metadata for tsx

* fix: remove unnecessary reposition

* fix: remove * path

* docs: fix route name

* fix: radar url

* fix: more maintainers

* fix: typo

* fix: last batch of empty maintainers

* feat!: remove biodiscover

* fix: correct eslint directive in data258 route
2026-07-29 09:25:19 +08:00
AiraNadih 1950616f04 fix(cma): fetch full bulletin content from NMC (#22830)
* fix(cma): handle SafeLine challenge

* fix(cma): refine channel route handling
2026-07-28 07:51:03 +08:00
Jiamin 9b6585e29b fix(route): update link to adapt new website html (#22853) 2026-07-27 19:03:56 +00:00
Tony a1a21b59de fix(route): housekeeping (#22851)
* fix(route): agirls

* fix(route): hakkatv

* fix(route): meteor

* fix(route): dcfever

* fix(route): netflix

* fix(route): immich

* fix(route): 0818tuan

* fix(route): mhlw

* fix(route): indienova

* fix(route): anthropic

* fix(route): tingtingfm

* fix(route): pubscholar

* fix(route): byteclicks

* fix: correct path format in GameDB route

* fix: add 'game' category to GameDB route

* fix: reduce concurrency in item parsing for Byteclicks route
2026-07-28 00:44:30 +08:00
Tony 5527d18de9 refactor: remove unnecessary trim/first/last (#22837)
* refactor: remove unnecessary trim/first/last

* refactor(types): allow null in DataItem.description

* refactor: remove unnecessary fallback

* refactor(types): allow null in Data.description

* refactor: remove unnecessary fallback

* refactor: remove .clone()

* refactor: refine json content text

* fIx: cognition

* fix: more fixes

* fix(route/jiemian): use api

* fix(route/jandan): housekeeping

add back maintainers from #8904

* fix(route/kcna/news): update source and target mappings

* fix(route/jandan): sanitize HTML content in titles

* refactor: remove unnecessary referer

* fix(route/jinse): regex
2026-07-27 22:23:57 +08:00
Ethan Shen 1399af8296 fix(route): 联合资信评估股份有限公司研究报告 (#22835) 2026-07-26 22:17:00 +08:00
Tim 5d6338ee34 feat(route): add Forward Future routes (daily newsletter + originals) (#22827)
* feat: add Forward Future routes (daily newsletter + originals)

* feat(route): add lang

* feat: add cache.tryGet to Forward Future routes

* fix: address review feedback - remove cache.tryGet from list requests, use JSON.parse for unescaping, fix description/pubDate/extraction
2026-07-26 21:38:01 +08:00
SryvkverandSryvkver c0825f01dd fix(route/fanbox) Update PostListResponse model to conform to new API response (#22828)
Co-authored-by: Sryvkver <git@sryvkver.com>
2026-07-25 21:47:57 +08:00
Jiamin 8a2128988a feat(route): add china silk museum exhibit route (#22809)
* feat(route): add china silk museum exhibit route

* fix: update radar source

* fix: update rawSrc to remove redundancy

* fix: update according to part of bot review
2026-07-25 17:24:59 +08:00
Jiamin 91d71f14e7 fix(route): remove dyanmic date stamp for link (#22818)
* fix(route): remove dynamic date stamp from the link

* fix(route): remove dynamic date stamp from the link

* fix: update radar source

* fix: update radar source to restore www
2026-07-25 17:13:33 +08:00
whatever 0294ce99db fix(dongqiudi): adapt routes to new __NUXT__ data structure (#22720)
* route: fix dongqiudi routes for new __NUXT__ data structure

* fix(dongqiudi): remove unused mobile fallback

* fix(dongqiudi): tolerate unavailable special articles

* fix(dongqiudi): remove unnecessary bool return from ProcessFeedType2
2026-07-25 05:06:28 +08:00
github-actions[bot] e6812648b3 style: auto format 2026-07-23 21:24:02 +00:00
sirius60111andClaude Opus 4.8 534967c4ea fix(route/xueqiu): serialize show.json requests and skip caching transient failures (#22708)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-24 05:22:35 +08:00
Jiamin 0fafcbba7a feat(route): add Suzhou Museum Special Exhibit route (#22770)
* feat(route): add Suzhou Museum Special Exhibit route

* fix: patch the malformed header
2026-07-24 01:30:29 +08:00
JiaminandTony 16cac03373 feat(route): add Sichuan Museum Exhibition route (#22756)
* feat(route): add Sichuan Museum Exhibition route

* fix: fix the radar target

* fix: update key with original format and remove string() for startDate/endDate

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

--------
2026-07-24 00:55:49 +08:00
JiaminandTony b0e556e118 feat(route): add capital museum route for exhibition and news (#22687)
* feat: add capital museum route for exhibition and news

* fix:update ExhibitionListItem

* fix: update .html() to .text() and news apiUrl

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

-------
2026-07-24 00:32:56 +08:00
powerfullz d454ef8f47 fix(route/csust): various fixes and improvements (#22704)
* fix(route/csust): self-contained routes, full title extraction, absolute URLs

- Remove factory pattern from utils.ts, keep only getNoticeContent helper
- Each route (tggs/xkxs) now self-contained with inline list parsing
- Extract full title from article page <title> tag to avoid truncation
- Convert relative URLs to absolute in article content

* fix(route/csust): remove redundant logics
2026-07-23 22:17:31 +08:00
Zifan Hua a6e8b8781d feat(route): add route for 浙江大学数学科学院 (#22464)
* feat(route): add route for 浙江大学数学科学院

* fix: adjust publication date parsing to account for timezone

* fix: refine news item selection in fetchNewsItemsByCategory function

* fix: simplify author and publication date extraction in enrichNewsItemWithDetails function

* fix: update fetchNewsItemsByCategory to handle filter links only accessible from intranet

* fix: simplify filtering logic in fetchNewsItemsByCategory function
2026-07-23 08:33:20 +08:00
Jagger.H e431b726e9 fix(route/163): add radar rules for NetEase Cloud Music routes (#22788)
The 163 routes carry no radar rules, so RSSHub Radar cannot suggest them
from a music.163.com page. This adds one rule per route, each pointing at
the URL that route already builds in its own `link`.

`user/playlist` declares `:uid` in its path while the page URL carries
`?id=`, so its target binds `:id` — the same convention as acfun/video.ts
(path `:uid`, source/target `:id`).
2026-07-23 05:58:04 +08:00
Jiamin 5424351562 feat(route): add Tianjin Museum News and Exhibit route (#22785) 2026-07-23 05:37:50 +08:00
Jiamin 588cb9682a feat(route): add Chongqing China Three Gorges Museum temp exhibition route (#22755) 2026-07-23 00:51:03 +08:00
TonyRL 1d8bac78ea fix(config): fix macOS ua version 2026-07-22 22:20:49 +08:00
Tony 2c5929347a fix(route/daily): remove innerSharedContent parameter (#22786) 2026-07-22 04:43:03 +08:00
aaro-n a0a388b51b fix(route/xiaoyuzhou): add POST body to editor-pick/list request (#22759)
* fix(route/xiaoyuzhou): add POST body to editor-pick/list request

* docs: add back route metadata
2026-07-22 03:12:50 +08:00
Ananya 0eb05b56a9 fix(route/pawchive): add enclosure support and fix media URLs (#22739)
* fix(route): pawchive - add enclosure support and fix media URLs

* Address github-advanced-security problems

* Change namespace to pawchive.pw

* Fix pawchive domain in radar
2026-07-22 03:00:44 +08:00
Jiamin 737cf6063b feat(route): add Guandong Museum Exhibitions and news route (#22729)
* feat:add Guandong Museum Exhibitions and news

* fix: update selector
2026-07-22 01:21:36 +08:00
SryvkverandSryvkver de93618f18 fix(route/fanbox): refactor to use playwright to load posts (#22681)
* fix(route/fanbox): refactor to use playwright to load posts

* fix(route/fanbox) added missing await

* fix(route/fanbox) closing context after page close

* fix(route/fanbox) Update model to conform to new API response

---------

Co-authored-by: Sryvkver <git@sryvkver.com>
2026-07-21 10:03:19 +08:00
Serhii Hospodarchuk abb7a21e28 feat(core): add summary field support for atom and json feed (#22758)
* fix(core): summary field in json feed

* feat(core): add summary field to atom

* test: update json view test to match the new summary field
2026-07-20 21:31:04 +08:00
Jiakai Guandreal-jiakai 39aa7af02c fix(route): harden njxzc, gxmzu and jou routes (#22435)
* fix(route): harden njxzc, gxmzu and jou routes

- parse all observed date formats (ISO, slash, Chinese with optional
  time) instead of a fixed YYYY-MM-DD pattern
- fall back to list data when an article page fails or lacks content,
  instead of crashing the whole feed on cheerio load(null)
- skip content fetching for off-site links (e.g. WeChat posts)
- only override title/pubDate when found on the detail page
- resolve relative links and images against the article URL
- deduplicate the list/detail scaffold into per-namespace utils
- remove dead response.status checks, unused ctx params and noise
  comments; fix namespace URLs and antiCrawler flags

* refactor(route): address review feedback for gxmzu, jou and njxzc

- translate code comments to English (AGENTS.md rule 53)
- select the date cell via $(selector, context) instead of .find(selector)
  to avoid unicorn/no-array-callback-reference false positives

* refactor(route): simplify gxmzu, jou and njxzc per review

- drop the unused type exports, unnecessary .first() calls and the
  unreachable no-content early returns
- restore the original selector object order in gxmzu/jou call sites
- gxmzu/jou: drop try-catch in resolveArticles (no failing article
  observed); keep the same-host guard for off-site list entries
- njxzc: drop the same-host guard (list links are same-host /_redirect
  URLs); keep try-catch for redirects to intranet-only subdomains
- gxmzu/lib: read the link text directly (library rows have no title
  attribute)

* refactor(route): drop jou host guard and njxzc intranet handling

- jou: remove the same-host guard — no off-site rows on the current
  first pages, which are all the route reads
- njxzc: remove the intranet-notice branch and the try-catch — every
  article on the current first pages loads fine from off-campus; drop
  the now-stale route descriptions as well

---------

Co-authored-by: real-jiakai <real.jiakai@gmail.com>
2026-07-20 13:08:00 +08:00
Tony 9d486c3bda fix(route/picnob): fix image and video selector (#22757) 2026-07-20 01:09:29 +08:00
小虎故洞 631a33d490 docs(route/bilibili): update cookie retrieval instructions for followings dynamic (#22754) 2026-07-19 03:08:41 +08:00
YuruShiMaShiMaRin dcebbcb68f fix(route/comic-walker): add radar rule for episode detail pages (#22753) 2026-07-18 09:12:59 +00:00
Tony f71d14fbcb feat(route): add ltn (#22741) 2026-07-17 09:31:34 +08:00
TonyRL 0bc92d27e3 feat(index): adaptive theme & icons 2026-07-17 03:58:25 +08:00
Tony 7ad67ad56d fix(route/xiaohongshu): use cover as url (#22740) 2026-07-17 02:32:37 +08:00
Serhii Hospodarchuk bd24a2fdcd feat(core): add a new environment variable to configure the output format (#22738) 2026-07-16 23:01:26 +08:00
Vanilla ec6cbe1255 fix(twitter): Allows cookies with socks ProxyAgent. (#22728) 2026-07-16 06:30:38 +08:00
dependabot[bot]andTonyRL 6bce9493b5 chore(deps-dev): bump eslint-plugin-unicorn from 71.1.0 to 72.0.0 (#22723)
* chore(deps-dev): bump eslint-plugin-unicorn from 71.1.0 to 72.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 71.1.0 to 72.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v71.1.0...v72.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-version: 72.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* style: fix prefer-dom-node-html-methods

* style: fix prefer-split-limit

* style: fix no-unnecessary-string-trim

* style: fix no-multiple-promise-resolver-calls

* style: add v72 preset

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2026-07-15 23:11:15 +08:00