完成
This commit is contained in:
@@ -30,7 +30,16 @@ let gethtml = async (name, page) => {
|
||||
// res(a.text)
|
||||
text = a.data
|
||||
})
|
||||
return await getcontlist(text)
|
||||
let list = []
|
||||
try {
|
||||
list = await getcontlist(text)
|
||||
|
||||
} catch (error) {
|
||||
// console.log(error)
|
||||
}
|
||||
return list
|
||||
|
||||
|
||||
}
|
||||
|
||||
let getlist = async (name) => {
|
||||
|
||||
Reference in New Issue
Block a user