fix url
This commit is contained in:
parent
8e5976f226
commit
6c48d0be1d
@ -5,7 +5,7 @@ find = require("./find")
|
|||||||
imglist = require("./picture")
|
imglist = require("./picture")
|
||||||
section = require("./section")
|
section = require("./section")
|
||||||
let name = "新新漫画"
|
let name = "新新漫画"
|
||||||
let version = "20.01.06"
|
let version = "22.02.01"
|
||||||
let type = 1
|
let type = 1
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name,
|
name,
|
||||||
|
@ -2,7 +2,7 @@ const cheerio = require('cheerio');
|
|||||||
const axios = require('axios')
|
const axios = require('axios')
|
||||||
let getscript = async (url) => {
|
let getscript = async (url) => {
|
||||||
let text;
|
let text;
|
||||||
url = "https://www.177mh.net" + url
|
url = "https://www.77mh.in" + url
|
||||||
// console.log(url)
|
// console.log(url)
|
||||||
await axios.get(url).then((res)=>{
|
await axios.get(url).then((res)=>{
|
||||||
// text = res.text
|
// text = res.text
|
||||||
|
@ -5,7 +5,7 @@ find = require("./find")
|
|||||||
imglist = require("./picture")
|
imglist = require("./picture")
|
||||||
section = require("./section")
|
section = require("./section")
|
||||||
let name = "古风漫画"
|
let name = "古风漫画"
|
||||||
let version = "19.12.26"
|
let version = "22.02.01"
|
||||||
let type = 1
|
let type = 1
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name,
|
name,
|
||||||
|
@ -2,7 +2,7 @@ const cheerio = require('cheerio');
|
|||||||
const axios = require('axios')
|
const axios = require('axios')
|
||||||
let getscript = async (url) => {
|
let getscript = async (url) => {
|
||||||
let text;
|
let text;
|
||||||
url = "https://www.gufengmh8.com" + url
|
url = "https://www.gufengmh9.com" + url
|
||||||
await axios.get(url).then((res)=>{
|
await axios.get(url).then((res)=>{
|
||||||
// text = res.text
|
// text = res.text
|
||||||
// console.log(res.data)
|
// console.log(res.data)
|
||||||
@ -27,8 +27,8 @@ 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 })
|
||||||
let down = pageUrl.replace("https://www.gufengmh8.com","") + nextChapterData.id + ".html"
|
let down = pageUrl.replace("https://www.gufengmh9.com","") + nextChapterData.id + ".html"
|
||||||
let upurl = pageUrl.replace("https://www.gufengmh8.com","") + prevChapterData.id + ".html"
|
let upurl = pageUrl.replace("https://www.gufengmh9.com","") + prevChapterData.id + ".html"
|
||||||
list = { imghost, chapterPath, chapterImages, pageTitle, pageUrl, prevChapterData, nextChapterData, pageImage,down,upurl }
|
list = { imghost, chapterPath, chapterImages, pageTitle, pageUrl, prevChapterData, nextChapterData, pageImage,down,upurl }
|
||||||
// console.log(list)
|
// console.log(list)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user