Files
RSSHub/lib
TimoYoung a0dbb6edf0 fix(route/huxiu): restore article content fetching and unify metadata building (#21756)
* fix(route/huxiu): fix article detail fetching

- Introduced `extractArticleId` function to extract article IDs from links.
- Added `fetchArticleDetail` function to retrieve article details using the extracted ID.
- Updated `fetchItem` to first attempt fetching article details before falling back to the original link.
- Enhanced error handling for API requests and parsing failures.

* refactor(route/huxiu): enhance data fetching and processing

- Introduced `prefixHuxiu` function to standardize titles and descriptions.
- Updated `fetchData` to handle icon URLs more robustly.
- Simplified `fetchItem` logic for better error handling and data retrieval.
- Removed unused `parseInitialState` function to clean up the codebase.

* refactor(route/huxiu): enhance data fetching and metadata building

- Replaced `fetchData` with `fetchApiRouteData` for improved data retrieval across multiple routes.
- Introduced `buildFeedMetadata` and `buildHuxiuRouteTitlePrefix` functions to standardize metadata construction.
- Updated various route handlers to utilize the new data fetching and metadata building methods, improving consistency and maintainability.
- Removed the `prefixHuxiu` function as its functionality is now integrated into the new metadata building process.
2026-04-18 05:47:50 +08:00
..
2026-03-05 02:36:53 +08:00
2026-04-14 15:15:05 +00:00
2026-04-14 15:15:05 +00:00
2026-04-14 15:15:05 +00:00
2026-03-17 15:59:10 +08:00
2026-03-25 23:16:40 +08:00
2026-04-13 23:45:08 +08:00
2026-04-13 23:45:08 +08:00
…
2026-04-14 15:15:05 +00:00
…
…
2026-04-14 15:15:05 +00:00
2026-04-13 04:21:20 +08:00
…