mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-19 09:52:21 +08:00
fix(route): dorohedoro xml error (#13185)
This commit is contained in:
@@ -14,7 +14,9 @@ module.exports = async (ctx) => {
|
||||
url: apiUrl,
|
||||
});
|
||||
|
||||
const $ = cheerio.load(response.data);
|
||||
const $ = cheerio.load(response.data, {
|
||||
xmlMode: true,
|
||||
});
|
||||
|
||||
let items = $('item')
|
||||
.slice(0, limit)
|
||||
|
||||
Reference in New Issue
Block a user