find review
This commit is contained in:
parent
62eea37625
commit
8e5976f226
@ -29,7 +29,7 @@ let getcontlist = async (text) => {
|
|||||||
|
|
||||||
let gethtml = async (name) => {
|
let gethtml = async (name) => {
|
||||||
name = qs.escape(name)
|
name = qs.escape(name)
|
||||||
let url = `https://so.177mh.net/k.php?k=${name}`
|
let url = `https://so.77mh.in/k.php?k=${name}`
|
||||||
// console.log(url)
|
// console.log(url)
|
||||||
let text = ""
|
let text = ""
|
||||||
await axios.get(url).then((a) => {
|
await axios.get(url).then((a) => {
|
||||||
@ -45,6 +45,7 @@ let gethtml = async (name) => {
|
|||||||
// console.log(error)
|
// console.log(error)
|
||||||
}
|
}
|
||||||
list = {name:"新新漫画",list}
|
list = {name:"新新漫画",list}
|
||||||
|
console.log(list)
|
||||||
return list
|
return list
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ let getcontlist = async (text) => {
|
|||||||
|
|
||||||
let gethtml = async (name, page) => {
|
let gethtml = async (name, page) => {
|
||||||
name = qs.escape(name)
|
name = qs.escape(name)
|
||||||
let url = `https://www.gufengmh8.com/search/?keywords=${name}&page=${page}`
|
let url = `https://www.gufengmh9.com/search/?keywords=${name}&page=${page}`
|
||||||
// console.log(url)
|
// console.log(url)
|
||||||
let text = ""
|
let text = ""
|
||||||
await axios.get(url).then((a) => {
|
await axios.get(url).then((a) => {
|
||||||
@ -38,6 +38,7 @@ let gethtml = async (name, page) => {
|
|||||||
// console.log(error)
|
// console.log(error)
|
||||||
}
|
}
|
||||||
list = {name:"古风漫画",list}
|
list = {name:"古风漫画",list}
|
||||||
|
console.log(list)
|
||||||
return list
|
return list
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,6 +39,7 @@ let gethtml = async (name, page) => {
|
|||||||
// console.log(error)
|
// console.log(error)
|
||||||
}
|
}
|
||||||
list = {name:"漫画DB",list}
|
list = {name:"漫画DB",list}
|
||||||
|
console.log(list)
|
||||||
return list
|
return list
|
||||||
|
|
||||||
|
|
||||||
@ -49,7 +50,7 @@ let getlist = (name) => {
|
|||||||
try {
|
try {
|
||||||
let html;
|
let html;
|
||||||
html = await gethtml(name, 1)
|
html = await gethtml(name, 1)
|
||||||
console.log(JSON.stringify(html))
|
// console.log(JSON.stringify(html))
|
||||||
res(html);
|
res(html);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
rej([])
|
rej([])
|
||||||
|
@ -56,6 +56,7 @@ let get = (name) => {
|
|||||||
list.push(l)
|
list.push(l)
|
||||||
})
|
})
|
||||||
list = { name: "扑飞漫画", list }
|
list = { name: "扑飞漫画", list }
|
||||||
|
console.log(list)
|
||||||
res(list);
|
res(list);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
rej([])
|
rej([])
|
||||||
|
@ -55,6 +55,7 @@ let get = (name) => {
|
|||||||
list.push(l)
|
list.push(l)
|
||||||
})
|
})
|
||||||
list = {name:"塔多漫画",list}
|
list = {name:"塔多漫画",list}
|
||||||
|
console.log(list)
|
||||||
res(list);
|
res(list);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
rej([])
|
rej([])
|
||||||
|
Loading…
Reference in New Issue
Block a user