find review

This commit is contained in:
theluyuan 2022-02-01 16:41:21 +08:00
parent 62eea37625
commit 8e5976f226
5 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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([])

View File

@ -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([])

View File

@ -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([])