diff --git a/lib/v2/2048/index.js b/lib/v2/2048/index.js index 9761e6bdc..65a33b23c 100644 --- a/lib/v2/2048/index.js +++ b/lib/v2/2048/index.js @@ -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`;