Files
RSSHub/lib
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
..
2024-03-27 14:26:20 +08:00
2025-06-09 21:55:24 +08:00
2024-03-03 18:57:07 +08:00
2024-02-24 22:23:14 +08:00
2025-11-09 23:00:07 +08:00