find review
This commit is contained in:
parent
62eea37625
commit
8e5976f226
@ -29,7 +29,7 @@ let getcontlist = async (text) => {
|
||||
|
||||
let gethtml = async (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)
|
||||
let text = ""
|
||||
await axios.get(url).then((a) => {
|
||||
@ -45,6 +45,7 @@ let gethtml = async (name) => {
|
||||
// console.log(error)
|
||||
}
|
||||
list = {name:"新新漫画",list}
|
||||
console.log(list)
|
||||
return list
|
||||
|
||||
|
||||
|
@ -22,7 +22,7 @@ let getcontlist = async (text) => {
|
||||
|
||||
let gethtml = async (name, page) => {
|
||||
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)
|
||||
let text = ""
|
||||
await axios.get(url).then((a) => {
|
||||
@ -38,6 +38,7 @@ let gethtml = async (name, page) => {
|
||||
// console.log(error)
|
||||
}
|
||||
list = {name:"古风漫画",list}
|
||||
console.log(list)
|
||||
return list
|
||||
|
||||
|
||||
|
@ -39,6 +39,7 @@ let gethtml = async (name, page) => {
|
||||
// console.log(error)
|
||||
}
|
||||
list = {name:"漫画DB",list}
|
||||
console.log(list)
|
||||
return list
|
||||
|
||||
|
||||
@ -49,7 +50,7 @@ let getlist = (name) => {
|
||||
try {
|
||||
let html;
|
||||
html = await gethtml(name, 1)
|
||||
console.log(JSON.stringify(html))
|
||||
// console.log(JSON.stringify(html))
|
||||
res(html);
|
||||
} catch (error) {
|
||||
rej([])
|
||||
|
@ -56,6 +56,7 @@ let get = (name) => {
|
||||
list.push(l)
|
||||
})
|
||||
list = { name: "扑飞漫画", list }
|
||||
console.log(list)
|
||||
res(list);
|
||||
} catch (error) {
|
||||
rej([])
|
||||
|
@ -55,6 +55,7 @@ let get = (name) => {
|
||||
list.push(l)
|
||||
})
|
||||
list = {name:"塔多漫画",list}
|
||||
console.log(list)
|
||||
res(list);
|
||||
} catch (error) {
|
||||
rej([])
|
||||
|
Loading…
Reference in New Issue
Block a user