mirror of
https://github.com/develop202/migu_video.git
synced 2025-12-17 23:34:45 +08:00
临时修复410问题
This commit is contained in:
2
app.js
2
app.js
@@ -220,6 +220,7 @@ server.listen(port, async () => {
|
||||
await update(hours)
|
||||
} catch (error) {
|
||||
printRed("更新失败")
|
||||
console.log(error)
|
||||
}
|
||||
|
||||
printBlue(`\n当前已运行${hours}小时`)
|
||||
@@ -230,6 +231,7 @@ server.listen(port, async () => {
|
||||
await update(hours)
|
||||
} catch (error) {
|
||||
printRed("更新失败")
|
||||
console.log(error)
|
||||
}
|
||||
|
||||
console.log()
|
||||
|
||||
@@ -10,7 +10,7 @@ function delay(ms) {
|
||||
// 获取分类集合
|
||||
async function cateList() {
|
||||
try {
|
||||
const resp = await axios.get("https://program-sc.miguvideo.com/live/v2/tv-data/a5f78af9d160418eb679a6dd0429c920")
|
||||
const resp = await axios.get("https://program-sc.miguvideo.com/live/v2/tv-data/1ff892f2b5ab4a79be6e25b69d2f5d05")
|
||||
let liveList = resp.data.body.liveList
|
||||
// 热门内容重复
|
||||
liveList = liveList.filter((item) => {
|
||||
|
||||
Reference in New Issue
Block a user