Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa0e8568b4 | ||
|
|
53c1940143 | ||
|
|
1a1753ee5b | ||
|
|
99b5ec246b | ||
|
|
49e6f07237 | ||
|
|
62606005b5 | ||
|
|
eb9fdc9177 | ||
|
|
546f1eeeb4 | ||
|
|
d92fbace08 | ||
|
|
43c91eea08 | ||
|
|
9542e451f2 | ||
|
|
de3f9a1e9e | ||
|
|
f26ea70ef8 | ||
|
|
baf15dc1b4 | ||
|
|
2c58e5e4ba | ||
|
|
c8f33e947d |
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,3 +1,5 @@
|
||||
dist/
|
||||
node_modules/
|
||||
package-lock.json
|
||||
.idea/
|
||||
test/
|
||||
config.json
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
extras/
|
||||
node_modules/
|
||||
src/
|
||||
typings/
|
||||
ts.js
|
||||
tsconfig.json
|
||||
tsd.json
|
||||
tslint.json
|
||||
.idea/
|
||||
.github/
|
||||
test/
|
||||
config.json
|
||||
.travis.yml
|
||||
|
||||
9152
package-lock.json
generated
Normal file
9152
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
55
package.json
55
package.json
@@ -15,41 +15,40 @@
|
||||
"engines": {
|
||||
"node": ">=5.0"
|
||||
},
|
||||
"version": "1.6.0",
|
||||
"version": "1.6.1",
|
||||
"bin": {
|
||||
"crunchy": "./bin/crunchy",
|
||||
"crunchy.sh": "./bin/crunchy.sh"
|
||||
},
|
||||
"dependencies": {
|
||||
"big-integer": "^1.6.48",
|
||||
"bluebird": "^3.7.2",
|
||||
"brotli": "^1.3.2",
|
||||
"cheerio": "^0.22.0",
|
||||
"cloudscraper": "^4.6.0",
|
||||
"commander": "^5.0.0",
|
||||
"fs-extra": "^9.0.0",
|
||||
"mkdirp": "^1.0.4",
|
||||
"pjson": "^1.0.9",
|
||||
"request": "^2.88.2",
|
||||
"request-promise": "^4.2.5",
|
||||
"tough-cookie-file-store": "^1.2.0",
|
||||
"uuid": "^7.0.3",
|
||||
"xml2js": "^0.4.23"
|
||||
"big-integer": ">=1.6.51",
|
||||
"bluebird": ">=3.7.2",
|
||||
"brotli": ">=1.3.3",
|
||||
"cloudscraper": ">=4.6.0",
|
||||
"commander": ">=11.0.0",
|
||||
"fs-extra": ">=11.1.1",
|
||||
"mkdirp": ">=3.0.1",
|
||||
"pjson": ">=1.0.9",
|
||||
"request": ">=2.88.2",
|
||||
"request-promise": ">=4.2.6",
|
||||
"tough-cookie-file-store": ">=2.0.3",
|
||||
"uuid": ">=9.0.0",
|
||||
"xml2js": ">=0.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bluebird": "^3.5.30",
|
||||
"@types/cheerio": "^0.22.17",
|
||||
"@types/fs-extra": "^8.1.0",
|
||||
"@types/mkdirp": "^1.0.0",
|
||||
"@types/node": "^13.11.1",
|
||||
"@types/request": "^2.48.4",
|
||||
"@types/request-promise": "^4.1.46",
|
||||
"@types/uuid": "^7.0.2",
|
||||
"@types/xml2js": "^0.4.5",
|
||||
"npm-check": "^5.9.2",
|
||||
"tsconfig-lint": "^0.12.0",
|
||||
"tslint": "^6.1.1",
|
||||
"typescript": "^3.8.3"
|
||||
"@types/bluebird": ">=3.5.38",
|
||||
"@types/cheerio": ">=0.22.31",
|
||||
"@types/fs-extra": ">=11.0.1",
|
||||
"@types/mkdirp": ">=2.0.0",
|
||||
"@types/node": ">=20.3.2",
|
||||
"@types/request": ">=2.48.8",
|
||||
"@types/request-promise": ">=4.1.48",
|
||||
"@types/uuid": ">=9.0.2",
|
||||
"@types/xml2js": ">=0.4.11",
|
||||
"cheerio": "^1.0.0-rc.12",
|
||||
"npm-check": "^6.0.1",
|
||||
"tslint": "^6.1.3",
|
||||
"typescript": ">=5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"prepublishOnly": "npm run build",
|
||||
|
||||
@@ -396,6 +396,8 @@ function scrapePage(config: IConfig, address: string, done: (err: Error, page?:
|
||||
if (pageMetadata.partOfSeason)
|
||||
{
|
||||
seasonNumber = pageMetadata.partOfSeason.seasonNumber;
|
||||
if (seasonNumber === '0') { seasonNumber = '1'; }
|
||||
|
||||
seasonTitle = pageMetadata.partOfSeason.name;
|
||||
}
|
||||
done(null, vlos.getMedia(script, seasonTitle, seasonNumber));
|
||||
|
||||
Reference in New Issue
Block a user