This commit is contained in:
2021-11-08 20:48:31 +08:00
parent 021ee2b981
commit a185609891
4 changed files with 17 additions and 18 deletions

22
main.js

File diff suppressed because one or more lines are too long

View File

@@ -4,7 +4,7 @@
"main": "index.js",
"license": "MIT",
"dependencies": {
"axios": "^0.22.0",
"axios": "^0.24.0",
"cheerio": "^1.0.0-rc.10",
"form-data": "^4.0.0"
},

View File

@@ -30,7 +30,8 @@ class Reptile {
}
list.push(info)
})
console.log(JSON.stringify(list))
// console.log(list)
return list;
}
// 获取[]中间的内容 目前通过这个获取第几集
async getepisode(name) {

View File

@@ -7,10 +7,10 @@ asynckit@^0.4.0:
resolved "https://registry.nlark.com/asynckit/download/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
integrity sha1-x57Zf380y48robyXkLzDZkdLS3k=
axios@^0.22.0:
version "0.22.0"
resolved "https://registry.npmjs.org/axios/-/axios-0.22.0.tgz#bf702c41fb50fbca4539589d839a077117b79b25"
integrity sha512-Z0U3uhqQeg1oNcihswf4ZD57O3NrR1+ZXhxaROaWpDmsDTx7T2HNBV2ulBtie2hwJptu8UvgnJoK+BIqdzh/1w==
axios@^0.24.0:
version "0.24.0"
resolved "https://registry.npmmirror.com/axios/download/axios-0.24.0.tgz#804e6fa1e4b9c5288501dd9dff56a7a0940d20d6"
integrity sha1-gE5voeS5xSiFAd2d/1anoJQNINY=
dependencies:
follow-redirects "^1.14.4"