diff --git a/app.js b/app.js index 09e1e64..9d61665 100644 --- a/app.js +++ b/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() diff --git a/utils/fetchList.js b/utils/fetchList.js index a2814ad..2a85e4c 100644 --- a/utils/fetchList.js +++ b/utils/fetchList.js @@ -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) => {