diff --git a/app.js b/app.js index ca54473..a7d2336 100644 --- a/app.js +++ b/app.js @@ -26,4 +26,4 @@ app.use(bodyParser()); // console.log(requter()) app.use(requter()); app.listen(3004); -console.log("http://localhost:3002") \ No newline at end of file +console.log("http://localhost:3004") \ No newline at end of file diff --git a/bin/reptile/gufengmh8/picture.js b/bin/reptile/gufengmh8/picture.js index 703f1fd..8a3f29a 100644 --- a/bin/reptile/gufengmh8/picture.js +++ b/bin/reptile/gufengmh8/picture.js @@ -26,7 +26,9 @@ let getscript = async (url) => { // nextChapterData 下一页信息 // 页面地址为 基础url + 页信息.id // 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) } })