From 8fd4c84d21d071cc312ed9382dcca9d1dd4e204c Mon Sep 17 00:00:00 2001 From: DIYgod Date: Sun, 23 Sep 2018 14:45:23 +0800 Subject: [PATCH] format --- routes/dysfz/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/routes/dysfz/index.js b/routes/dysfz/index.js index 2f68920c35..c8257834a9 100644 --- a/routes/dysfz/index.js +++ b/routes/dysfz/index.js @@ -4,8 +4,7 @@ const cheerio = require('cheerio'); module.exports = async (ctx) => { const response = await axios.get('http://www.dysfz.vip'); const $ = cheerio.load(response.data); - const list = $('.movie-list li') - .get() + const list = $('.movie-list li').get(); const data = { title: '电影首发站', link: 'http://www.dysfz.vip',