mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix(route): incorrect source links in yuzu emulator (#8111)
This commit is contained in:
@@ -30,7 +30,7 @@ module.exports = async (ctx) => {
|
||||
method: 'get',
|
||||
url: item.link,
|
||||
});
|
||||
const content = cheerio.load(detailResponse.data);
|
||||
const content = cheerio.load(detailResponse.data.replace(/<source src="\.\//g, `<source src="${item.link}`));
|
||||
|
||||
const meta = content('.h3').text().trim().split(' on ');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user