From 6c48d0be1d3ef34d2c25b6d24425e4eb0a512369 Mon Sep 17 00:00:00 2001 From: theluyuan <1162963624@qq.com> Date: Tue, 1 Feb 2022 16:45:29 +0800 Subject: [PATCH] fix url --- bin/reptile/177mh_net/config.js | 2 +- bin/reptile/177mh_net/picture.js | 2 +- bin/reptile/gufengmh8/config.js | 2 +- bin/reptile/gufengmh8/picture.js | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/reptile/177mh_net/config.js b/bin/reptile/177mh_net/config.js index 9fe923f..bb84aae 100644 --- a/bin/reptile/177mh_net/config.js +++ b/bin/reptile/177mh_net/config.js @@ -5,7 +5,7 @@ find = require("./find") imglist = require("./picture") section = require("./section") let name = "新新漫画" -let version = "20.01.06" +let version = "22.02.01" let type = 1 module.exports = { name, diff --git a/bin/reptile/177mh_net/picture.js b/bin/reptile/177mh_net/picture.js index 3454480..035d2e0 100644 --- a/bin/reptile/177mh_net/picture.js +++ b/bin/reptile/177mh_net/picture.js @@ -2,7 +2,7 @@ const cheerio = require('cheerio'); const axios = require('axios') let getscript = async (url) => { let text; - url = "https://www.177mh.net" + url + url = "https://www.77mh.in" + url // console.log(url) await axios.get(url).then((res)=>{ // text = res.text diff --git a/bin/reptile/gufengmh8/config.js b/bin/reptile/gufengmh8/config.js index 7bcd06a..7d9fd72 100644 --- a/bin/reptile/gufengmh8/config.js +++ b/bin/reptile/gufengmh8/config.js @@ -5,7 +5,7 @@ find = require("./find") imglist = require("./picture") section = require("./section") let name = "古风漫画" -let version = "19.12.26" +let version = "22.02.01" let type = 1 module.exports = { name, diff --git a/bin/reptile/gufengmh8/picture.js b/bin/reptile/gufengmh8/picture.js index 41456e8..4a60bd4 100644 --- a/bin/reptile/gufengmh8/picture.js +++ b/bin/reptile/gufengmh8/picture.js @@ -2,7 +2,7 @@ const cheerio = require('cheerio'); const axios = require('axios') let getscript = async (url) => { let text; - url = "https://www.gufengmh8.com" + url + url = "https://www.gufengmh9.com" + url await axios.get(url).then((res)=>{ // text = res.text // console.log(res.data) @@ -27,8 +27,8 @@ let getscript = async (url) => { // nextChapterData 下一页信息 // 页面地址为 基础url + 页信息.id // console.log({ imghost, chapterPath, chapterImages, pageTitle, pageUrl, prevChapterData, nextChapterData, pageImage }) - let down = pageUrl.replace("https://www.gufengmh8.com","") + nextChapterData.id + ".html" - let upurl = pageUrl.replace("https://www.gufengmh8.com","") + prevChapterData.id + ".html" + let down = pageUrl.replace("https://www.gufengmh9.com","") + nextChapterData.id + ".html" + let upurl = pageUrl.replace("https://www.gufengmh9.com","") + prevChapterData.id + ".html" list = { imghost, chapterPath, chapterImages, pageTitle, pageUrl, prevChapterData, nextChapterData, pageImage,down,upurl } // console.log(list) }