This commit is contained in:
pplokijuhyg 2020-01-06 18:36:27 +08:00
parent 267366ed2d
commit 00166f9df4

View File

@ -3,6 +3,7 @@ const axios = require('axios')
let getscript = async (url) => {
let text;
url = "https://www.177mh.net" + url
// console.log(url)
await axios.get(url).then((res)=>{
// text = res.text
// console.log(res.data)
@ -59,7 +60,7 @@ let getscript = async (url) => {
// console.log(img_qianzso)
let qianzso = img_qianzso[imgs]
// console.log(qianzso)
console.log(webpshow)
if(webpshow == 1){
chapterImages = chapterImages.map(x => x + ".webp")
}
@ -69,5 +70,5 @@ let getscript = async (url) => {
}
// getscript('/201008/167494.html')
getscript('/201804/385855.html')
module.exports = getscript