TimoYoung 1851236be6 fix(route/huxiu): adapt to Nuxt 3 data structure and update API endpoints (#20843)
* fix(route/huxiu): adapt to Nuxt 3 data structure and update API endpoints

- fix article parsing by adding suppmort for Nuxt 3 __NUXT_DATA__ format
- Update channel, club and tag's API endpoints and channel route
- Remove deprecated brief-column route

* set antiCrawler tag, disable bt support tag

* fix(route/huxiu): handle request failures gracefully in fetchItem; add maintainer info

* refactor(route/huxiu): remove unused fetchBriefColumnData and update club example

* refactor(route/huxiu): reduce function complexity in util.ts

- Extract buildCategories() for category array construction
- Extract resolveItemIdentifiers() for guid/link resolution
- Extract extractCounts() for upvotes/downvotes/comments extraction
- Extract extractAuthor() for author field extraction
- Extract extractImageSrc() for image URL extraction
- Extract mapItem() to simplify processItems() map callback
- Simplify fetchItem() by using direct object return
- Simplify processItems() control flow with boolean variables

These changes reduce cyclomatic complexity reported by CodeFactor
for functions at lines 164-218 and 440-490.
2026-01-11 00:39:52 +08:00
2025-09-30 12:30:30 +08:00
2025-12-07 00:15:41 +08:00
2025-11-27 14:32:29 +08:00
2024-03-09 20:30:59 +08:00
2025-11-27 14:32:29 +08:00
2025-06-06 21:38:15 +08:00
2025-12-28 18:42:39 +08:00
2025-12-28 18:39:22 +08:00
2024-03-09 20:30:59 +08:00
2024-03-03 17:36:08 +08:00

RSSHub

RSSHub

🧡 Everything is RSSible

docker publish npm publish test Test coverage Visitors

Telegram group Telegram channel X (Twitter)

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 | Telegram Group | Telegram Channel | X (Twitter)

  • 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

Contribute

We welcome all pull requests. Suggestions and feedback are also welcomed here.

Refer to Quick Start

Deployment

Refer to Deployment

Special Thanks

Logo designer sheldonrrr

              

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 89.9%
JavaScript 10%