From edc5ece01bf999739854fd448d5fa163523b3035 Mon Sep 17 00:00:00 2001 From: pplokijuhyg <1162963624@qq.com> Date: Thu, 2 Jan 2020 18:28:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=8A=E4=B8=8B=E4=B9=9F?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- bin/reptile/gufengmh8/picture.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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) } })