[scraper] updates featurette regex

This commit is contained in:
TheBeastLT
2020-05-15 12:28:34 +02:00
parent 314ff98555
commit 2a77abbf8d
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@@ -1687,8 +1687,8 @@
}
},
"parse-torrent-title": {
"version": "git://github.com/TheBeastLT/parse-torrent-title.git#e487224d4ecdcc15838fd72b81efb436bfda846c",
"from": "git://github.com/TheBeastLT/parse-torrent-title.git#e487224d4ecdcc15838fd72b81efb436bfda846c",
"version": "git://github.com/TheBeastLT/parse-torrent-title.git#345c33536b2a5e7455da91cdde0146625bb9b254",
"from": "git://github.com/TheBeastLT/parse-torrent-title.git#345c33536b2a5e7455da91cdde0146625bb9b254",
"requires": {
"moment": "^2.24.0"
}

View File

@@ -31,7 +31,7 @@
"node-schedule": "^1.3.2",
"nodejs-bing": "^0.1.0",
"parse-torrent": "^6.1.2",
"parse-torrent-title": "git://github.com/TheBeastLT/parse-torrent-title.git#e487224d4ecdcc15838fd72b81efb436bfda846c",
"parse-torrent-title": "git://github.com/TheBeastLT/parse-torrent-title.git#345c33536b2a5e7455da91cdde0146625bb9b254",
"pg": "^7.8.2",
"pg-hstore": "^2.3.2",
"rarbg-api": "^1.1.4",

View File

@@ -400,7 +400,7 @@ function isSingleMovie(videos) {
}
function isFeaturette(video) {
return /(?:featurettes?|extras-grym)\//i.test(video.path);
return /featurettes?\/|extras-grym/i.test(video.path);
}
function clearInfoFields(video) {