DIYgod mirror
Go to file
IChengHo 8c7cd6832e
fix(route/phoronix): Use `ofetch` and `parseString` for reliable feed fetching (#20543)
The `rss-parser`'s internal `parseURL` method can fail with an "Error:
Non-whitespace before first tag" on feeds that are gzipped or contain a
Byte Order Mark (BOM), as it lacks robust decompression and encoding
handling.

This change switches the Phoronix route to:

Fetch the raw XML string using `ofetch`, which handles compression and
encoding correctly.

Pass the resulting clean string to `parser.parseString()`.

This resolves the parsing issue and ensures the route is reliable.
2025-11-22 04:33:29 +08:00
.devcontainer chore: bump to node 24 (#20486) 2025-11-15 03:56:04 +08:00
.github chore(deps): bump actions/checkout from 5.0.1 to 6.0.0 (#20536) 2025-11-21 19:07:32 +08:00
.husky chore(deps-dev): bump husky from 9.0.11 to 9.1.0 (#16200) 2024-07-18 20:04:24 +08:00
.idx feat(utils/puppeteer): replace `puppeteer-extra-plugin-stealth` with `rebrowser` (#19506) 2025-07-01 04:38:05 +08:00
assets
eslint-plugins feat: more nsfw flag 2025-09-30 12:30:30 +08:00
lib fix(route/phoronix): Use `ofetch` and `parseString` for reliable feed fetching (#20543) 2025-11-22 04:33:29 +08:00
logs
plugins feat: compile ts through tsdown (#18908) 2025-04-22 22:29:11 +08:00
scripts chore: pull analytics from docs repo instead 2025-11-19 01:36:31 +08:00
.codecov.yml
.dockerignore chore(deps): update bbob packages to version 4.3.1 and clean up patches (#20323) 2025-10-18 05:35:49 +08:00
.editorconfig
.gitignore chore: sort git ignore 2025-04-16 03:59:36 +08:00
.npmrc chore: set package-manager-strict to false 2024-05-24 02:46:38 +00:00
.prettierignore feat: compile ts through tsdown (#18908) 2025-04-22 22:29:11 +08:00
.prettierrc
.puppeteerrc.cjs refactor: fix lint issue (#18963) 2025-04-29 03:00:16 +08:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md fix(core): fix documentation link path and error message links (#15023) 2024-03-30 08:12:12 +00:00
Dockerfile fix(route/picnob): bring back support for diygod/rsshub:chromium-bundled (#20504) 2025-11-21 01:23:22 +08:00
LICENSE
README.md docs: fix visitors count 2025-04-28 04:40:10 +08:00
SECURITY.md
app.json
babel.config.js
docker-compose.yml fix(route/picnob): use puppeteer-real-browser to pass cf check (#20478) 2025-11-14 15:32:09 +08:00
eslint.config.mjs chore(deps): bump http-cookie-agent from 7.0.2 to 7.0.3 (#20495) 2025-11-17 22:08:12 +08:00
fly.toml chore: update fly.toml 2025-06-06 21:38:15 +08:00
package.json chore(deps-dev): bump @vercel/nft from 0.30.4 to 1.0.0 (#20535) 2025-11-21 19:12:28 +08:00
pnpm-lock.yaml chore(deps-dev): bump @vercel/nft from 0.30.4 to 1.0.0 (#20535) 2025-11-21 19:12:28 +08:00
tailwind.config.js
tsconfig.json chore: add Vercel build configuration 2025-08-10 18:34:16 +08:00
tsdown-vercel.config.ts feat: vercel compatibility 2025-08-11 21:39:03 +08:00
tsdown.config.ts feat: vercel compatibility 2025-08-11 21:39:03 +08:00
vitest.config.ts chore: bump to vitest 4 (#20487) 2025-11-15 05:58:43 +08:00

README.md

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 MIT License.
Authored and maintained by DIYgod with help from contributors (list).

Blog @DIYgod · GitHub @DIYgod · X (Twitter) @DIYgod · Telegram Channel @awesomeDIYgod