fix: remove unused var

This commit is contained in:
Ving
2021-02-08 23:46:49 +08:00
parent 428a7c9553
commit c8e441a932

View File

@@ -17,7 +17,6 @@ module.exports = async (ctx) => {
.find('a')
.map((_, { attribs: { title, href } }) => ({ title, link: `${url}${href}` }))
.get();
extendedGot = got.extend({ headers: { Referer: link }, responseType: 'buffer' });
const item = await Promise.all(
list.map(
async ({ title, link }) =>