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
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
* 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>
* 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
* 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
* 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
* 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>
--------
* 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>
-------
* 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
* 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
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`).
* 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>
* 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>