mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-08-31 01:01:11 +08:00
6f50d57298dbc1a9cffc65af1ab123facb65a4b2
* 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>
…
RSSHub
🧡 Everything is RSSible
|
SX.org proxies fit well with RSSHub's proxy configuration and self-hosted RSS workflows. Use promo code RSShub3gb to get a free trial period for RSSHub users.
|
RSSHub pairs especially well with Folo, an AI RSS reader for feed discovery and modern reading workflows. The project is also open source on GitHub. |
Introduction
RSSHub is the world's largest RSS network, consisting of over 5,000 global instances.
RSSHub delivers millions of contents aggregated from all kinds of sources, our vibrant open source community is ensuring the deliver of RSSHub's new routes, new features and bug fixes.
Documentation | Folo | Telegram Group | Telegram Channel | X (Twitter)
Related Projects
- Folo | An AI RSS reader that works especially well with RSSHub. Source code: GitHub.
- RSSHub Radar | A browser extension that can help you quickly discover and subscribe to the RSS and RSSHub of current websites.
- RSSBud | RSSHub Radar for iOS platform, designed specifically for mobile ecosystem optimization.
- RSSAid | RSSHub Radar for Android platform built with Flutter.
- DocSearch | Link RSSHub DocSearch into Raycast.
- Awesome RSSHub Routes | Curated list of RSS feeds and RSSHub routes.
Contribute
We welcome all pull requests. Suggestions and feedback are also welcomed here.
Refer to Quick Start
Deployment
Refer to Deployment
Special Thanks
Author
RSSHub © DIYgod, Released under the AGPL-3.0 License.
Authored and maintained by DIYgod with help from contributors (list).
Blog @DIYgod · GitHub @DIYgod · X (Twitter) @DIYgod · Telegram Channel @awesomeDIYgod
Languages
TypeScript
99.5%
JavaScript
0.3%



