* fix(routes/miyuki): format news titles with bracketed categories and keep full-text body-only
* fix(routes/miyuki): clean news body extraction and normalize images
- Updated lib/routes/miyuki/news.ts to keep item titles as plain article titles and store category information only in the `category` field.
- Switched the route to use the canonical Miyuki domain and added the route `url` metadata.
- Refined full-text extraction so `description` keeps only the main article body and excludes page header metadata such as section title, article title, date, and category.
- Fixed malformed article-body handling for pages like `10217`, where the source HTML structure breaks the original body selector.
- Normalized article images by deduplicating `for_pc` / `for_sp` duplicates, converting relative image URLs to absolute URLs, and replacing list-based photo blocks with plain containers so RSS readers do not render black bullets.
- Resolved the related CodeFactor/lint issues and verified the file with `oxlint` and `eslint`.
* feat(apple): add full-text Apple Newsroom route
Add /apple/newsroom for the official Apple Newsroom China feed.
Fetch article pages to provide full-text content with cached detail requests, and normalize article metadata and media URLs.
Remove gallery navigation, download buttons, video playback controls, empty wrapper nodes, and other non-content UI elements from articles.
Format image and video captions as distinct descriptions, and drop duplicate captions when their text matches the article body.
* fix(routes/miyuki): simplify image handling in news descriptions
* Remove unrelated changes from PR
* refactor(theinitium): rewrite routes for Ghost CMS, add cookie support
- Rewrite all routes to use Ghost Content API (old API deprecated)
- Add INITIUM_MEMBER_COOKIE env var for paid article full-text
- Add features block with requireConfig to all route files
- Add url field and radar rules per RSSHub standards
- Strip -zh-hans suffix from author/category display names
- Update namespace with English name and zh translations
- Mark follow route as deprecated (Ghost doesn't support it)
- Fix hostname binding to 0.0.0.0 for LAN access
* fix(theinitium): use routeExpire with refresh=false to prevent stale cache
Cache was never expiring because refresh=true (default) extends TTL on every hit.
Now uses 5-min routeExpire and won't extend on access.
* refactor(theinitium): address review feedback
- Remove unused INITIUM_USERNAME/PASSWORD/BEARER_TOKEN env keys
- Remove hardcoded User-Agent (use RSSHub's internal UA)
- Remove fragile html.length > 500 check
- Remove refresh: false from cache.tryGet
- Hoist stripLangSuffix to module scope (dedupe with cleanName)
* fix(theinitium): detect paywall CTA instead of length check
If cookie is invalid/expired, scrape returns paywall HTML.
Check for .gh-post-upgrade-cta to detect this and fall back
to cleaner Ghost API preview.
* revert(index): restore '::' hostname per #16513
* feat(theinitium): clean Ghost Koenig card HTML for RSS output
* fix(theinitium): use redirected Ghost API URL, remove unused config types
* fix(theinitium): remove unrelated neureality config changes
---------
Co-authored-by: Ryan Yao <ryanyao@Macmini.lan>
Co-authored-by: Ryan Yao <ryanyao@Ryans-Mac-mini.lan>
Co-authored-by: Ryan Yao <ryanyao@Ryans-Mac-mini.local>
* Add img=1 option to pornhub handlers to pass through images
* Move img=1 to a path parameter, and add clarifications on :lang, etc because each must be set to set the following
---------
Co-authored-by: acidicxjrl <acidicxjrl>
When ZHIHU_COOKIES is configured without __zse_ck, automatically fetch
the value from Zhihu's public static JS (static.zhihu.com/zse-ck/v3.js).
__zse_ck is a site-wide token (not user-specific) that Zhihu embeds in
a static JS file and rotates periodically. When it expires, routes that
scrape HTML pages (e.g. /zhihu/posts/people/:id) return 403, while
API-only routes are unaffected.
Users can now omit __zse_ck from ZHIHU_COOKIES and it will be fetched
and cached automatically, eliminating manual cookie rotation for this
token. Existing configs that include __zse_ck are unchanged.
* feat: add route and namespace for MeriTalk articles
* feat: update articles route to support pagination and add description rendering
* feat: enhance articles route with improved description and error handling
* feat(meritalk): add articles route with pagination limit
- Add latest articles route for Meritalk
- Update route example and parameter description
- Implement pagination limit to avoid Cloudflare anti-bot
* fix(meritalk): remove nums param and fetch only first page
* fix(meritalk): update route category to new-media
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* fix(meritalk): remove the post-processing of items and modify some of the logic in the handler
- Remove unnecessary sorting.
- Remove custom limit logic.
---------
* feat(route/gcores): add user content routes with filtering
- Add user-talks route for user social posts, excluding podcasts and videos
- Add user-radios route for user podcasts with exclude_albums parameter to filter out specific albums
- Update cache middleware to include exclude_albums in cache key for proper cache separation
* chore(gcores): appease codefactor by simplifying radios handler
* Update lib/routes/gcores/user-radios.ts
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/routes/gcores/user-talks.ts
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* fix: address PR review - add maintainer ID and remove inferrable types
* refactor(route/gcores): replace exclude_albums with album category for common param filtering
---------
* fix(university): update ncu jwc selector for new site version
* fix(university): update ncu jwc selector for new site version
* fix(ncu): use config.trueUA to comply with Rule 21
* fix(ncu): use config.trueUA to comply with Rule 21
* fix(ncu): simplify URL handling and fulfill route metadata
* fix(route): 8kcos selectors for latest/cat/tag pages
* fix: add maintainer info from #7237
* fix: use wordpress api
---------
Co-authored-by: choury <choury@users.noreply.github.com>
Images were not displaying in RSS feeds because the processImage function
was not being called to convert Zhihu's special image attributes
(data-actualsrc, data-original) to standard src attributes.
The homepage of daily.zhihu.com was redesigned and no longer contains
.box elements with story links. Additionally, the v7 /stories/latest
endpoint now requires authentication (returns 401).
Fix by switching to the publicly accessible v4 API:
- GET /api/4/stories/latest to list today's stories
- GET /api/4/story/:id for full story content (still public)
Also set antiCrawler: false since the v4 API is open.
Co-authored-by: choury <choury@users.noreply.github.com>
Some list entries are ad posts that redirect to
external domains with problematic TLS certificate
chains, causing detail fetch to fail and break the
route.
* fix(route/bbc): deal with the mixed bbc news data
fix#21227
* Update lib/routes/bbc/utils.tsx
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
---------