导入完成
This commit is contained in:
17
bin/reptile/gufengmh8/config.js
Normal file
17
bin/reptile/gufengmh8/config.js
Normal file
@@ -0,0 +1,17 @@
|
||||
// import find from "./find"
|
||||
// import imglist from "./picture"
|
||||
// import section from "./section"
|
||||
find = require("./find")
|
||||
imglist = require("./picture")
|
||||
section = require("./section")
|
||||
let name = "古风漫画"
|
||||
let version = "19.12.26"
|
||||
let type = 1
|
||||
module.exports = {
|
||||
name,
|
||||
version,
|
||||
type,
|
||||
find,
|
||||
imglist,
|
||||
section
|
||||
}
|
||||
@@ -39,5 +39,5 @@ let getlist = async (name) => {
|
||||
console.log(JSON.stringify(html))
|
||||
return html;
|
||||
}
|
||||
getlist("偷星九月天")
|
||||
// module.exports = getlist
|
||||
// getlist("偷星九月天")
|
||||
module.exports = getlist
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user