fix: hpoi 无法抓取 (#6295)
This commit is contained in:
parent
bf62cc9e38
commit
1cb2d9af34
|
|
@ -13,7 +13,7 @@ module.exports = async (ctx) => {
|
|||
catType: type,
|
||||
},
|
||||
});
|
||||
const $ = cheerio.load(response.data.data.html);
|
||||
const $ = cheerio.load(response.data);
|
||||
|
||||
const items = $('.home-info')
|
||||
.map((_, ele) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue