fix(route): 同步包子漫画页面字段变动 (#12575)
This commit is contained in:
@@ -12,7 +12,7 @@ module.exports = async (ctx) => {
|
||||
const response = await got.get(url);
|
||||
const $ = cheerio.load(response.data);
|
||||
const comicTitle = $('div > div.pure-u-1-1.pure-u-sm-2-3.pure-u-md-3-4 > div > h1').text();
|
||||
const list = $('#layout > div.comics-detail > div:nth-child(3) > div > div:nth-child(2) > div')
|
||||
const list = $('#layout > div.comics-detail > div:nth-child(3) > div > div:nth-child(4) > div')
|
||||
.map((_, item) => {
|
||||
const title = $(item).find('span').text();
|
||||
const link = rootUrl + $(item).find('a').attr('href');
|
||||
|
||||
Reference in New Issue
Block a user