导入完成

This commit is contained in:
2019-12-26 18:19:48 +08:00
parent a3a4991dd1
commit 77061d8417
4 changed files with 58 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ const cheerio = require('cheerio');
const axios = require('axios')
let getscript = async (url) => {
let text;
await axios.get('https://www.gufengmh8.com/manhua/touxingjiuyuetian/1152122.html').then((res)=>{
await axios.get(url).then((res)=>{
// text = res.text
// console.log(res.data)
text = res.data
@@ -29,4 +29,5 @@ let getscript = async (url) => {
})
}
getscript('')
// getscript('')
module.exports = getscript