mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-08-31 01:01:11 +08:00
fix(route): 2048/:type (#14572)
This commit is contained in:
@@ -17,9 +17,8 @@ module.exports = async (ctx) => {
|
||||
},
|
||||
});
|
||||
const $ = cheerio.load(response);
|
||||
return $('ul li a')
|
||||
.toArray()
|
||||
.find((item) => $(item).text() === '最新線路1').attribs.href;
|
||||
const targetLink = $('table.group-table tr').eq(1).find('td a').eq(0).attr('href');
|
||||
return targetLink;
|
||||
});
|
||||
|
||||
const currentUrl = `${entranceDomain}/2048/thread.php?fid-${id}.html`;
|
||||
|
||||
Reference in New Issue
Block a user