From be4d0255051e94b2fedc1a2be80165ab23dca605 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sat, 19 Dec 2020 02:35:41 +0100 Subject: [PATCH] Fixed trailer path regex for some Hush sites. --- src/scrapers/hush.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scrapers/hush.js b/src/scrapers/hush.js index 4a705162..fb012bfe 100644 --- a/src/scrapers/hush.js +++ b/src/scrapers/hush.js @@ -138,7 +138,7 @@ function scrapeScene({ html, query }, channel, url) { src, ]); - const trailerPath = html.match(/\/trailers\/.*.mp4/); + const trailerPath = html.match(/\/trailers?\/.*.mp4/); if (trailerPath) { release.trailer = qu.prefixUrl(trailerPath, channel.parameters?.media || channel.url);