mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-08 22:19:40 +08:00
chore: format
This commit is contained in:
@@ -29,9 +29,11 @@ module.exports = async (ctx) => {
|
||||
const response = await ctx.cache.tryGet(
|
||||
itemUrl,
|
||||
async () =>
|
||||
(await got.get(itemUrl, {
|
||||
responseType: 'buffer',
|
||||
})).data
|
||||
(
|
||||
await got.get(itemUrl, {
|
||||
responseType: 'buffer',
|
||||
})
|
||||
).data
|
||||
);
|
||||
const html = iconv.decode(response, 'gbk');
|
||||
const $ = cheerio.load(html, { decodeEntities: false });
|
||||
|
||||
Reference in New Issue
Block a user