mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-13 00:35:57 +08:00
fix: remove unused var
This commit is contained in:
@@ -17,7 +17,6 @@ module.exports = async (ctx) => {
|
|||||||
.find('a')
|
.find('a')
|
||||||
.map((_, { attribs: { title, href } }) => ({ title, link: `${url}${href}` }))
|
.map((_, { attribs: { title, href } }) => ({ title, link: `${url}${href}` }))
|
||||||
.get();
|
.get();
|
||||||
extendedGot = got.extend({ headers: { Referer: link }, responseType: 'buffer' });
|
|
||||||
const item = await Promise.all(
|
const item = await Promise.all(
|
||||||
list.map(
|
list.map(
|
||||||
async ({ title, link }) =>
|
async ({ title, link }) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user