Fixed trailer path regex for some Hush sites.

This commit is contained in:
DebaucheryLibrarian 2020-12-19 02:35:41 +01:00
parent 17c9499ec4
commit be4d025505
1 changed files with 1 additions and 1 deletions

View File

@ -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);