添加上下也信息

This commit is contained in:
pplokijuhyg 2020-01-02 18:28:08 +08:00
parent c1edeec5ef
commit edc5ece01b
2 changed files with 4 additions and 2 deletions

2
app.js
View File

@ -26,4 +26,4 @@ app.use(bodyParser());
// console.log(requter()) // console.log(requter())
app.use(requter()); app.use(requter());
app.listen(3004); app.listen(3004);
console.log("http://localhost:3002") console.log("http://localhost:3004")

View File

@ -26,7 +26,9 @@ let getscript = async (url) => {
// nextChapterData 下一页信息 // nextChapterData 下一页信息
// 页面地址为 基础url + 页信息.id // 页面地址为 基础url + 页信息.id
// console.log({ imghost, chapterPath, chapterImages, pageTitle, pageUrl, prevChapterData, nextChapterData, pageImage }) // console.log({ imghost, chapterPath, chapterImages, pageTitle, pageUrl, prevChapterData, nextChapterData, pageImage })
list = { imghost, chapterPath, chapterImages, pageTitle, pageUrl, prevChapterData, nextChapterData, pageImage } let nexturl = pageUrl.replace("https://www.gufengmh8.com","") + nextChapterData + ".html"
let upurl = pageUrl.replace("https://www.gufengmh8.com","") + prevChapterData + ".html"
list = { imghost, chapterPath, chapterImages, pageTitle, pageUrl, prevChapterData, nextChapterData, pageImage,nexturl,upurl }
// console.log(list) // console.log(list)
} }
}) })