mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-12 16:20:27 +08:00
chore(deps-dev): bump prettier from 1.19.1 to 2.0.2
This commit is contained in:
@@ -13,10 +13,7 @@ module.exports = async (ctx) => {
|
||||
const $ = cheerio.load(item);
|
||||
const time = $('li.fbrq').text();
|
||||
const title = $('li.mc > div').text();
|
||||
const sub_url = $('li.mc > div')
|
||||
.find('a')
|
||||
.attr('href')
|
||||
.slice(6);
|
||||
const sub_url = $('li.mc > div').find('a').attr('href').slice(6);
|
||||
const itemUrl = ori_url + sub_url;
|
||||
const cache = await ctx.cache.get(itemUrl);
|
||||
if (cache) {
|
||||
|
||||
Reference in New Issue
Block a user