From 2a77abbf8da6911becf4c2827c45ac2156f2954f Mon Sep 17 00:00:00 2001 From: TheBeastLT Date: Fri, 15 May 2020 12:28:34 +0200 Subject: [PATCH] [scraper] updates featurette regex --- package-lock.json | 4 ++-- package.json | 2 +- scraper/lib/torrentFiles.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4b617a3..1cf9dde 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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" } diff --git a/package.json b/package.json index 97b5c62..831ef12 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/scraper/lib/torrentFiles.js b/scraper/lib/torrentFiles.js index 8a4cc59..cab697f 100644 --- a/scraper/lib/torrentFiles.js +++ b/scraper/lib/torrentFiles.js @@ -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) {