Fixed trailer path regex for some Hush sites.
This commit is contained in:
@@ -138,7 +138,7 @@ function scrapeScene({ html, query }, channel, url) {
|
|||||||
src,
|
src,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const trailerPath = html.match(/\/trailers\/.*.mp4/);
|
const trailerPath = html.match(/\/trailers?\/.*.mp4/);
|
||||||
|
|
||||||
if (trailerPath) {
|
if (trailerPath) {
|
||||||
release.trailer = qu.prefixUrl(trailerPath, channel.parameters?.media || channel.url);
|
release.trailer = qu.prefixUrl(trailerPath, channel.parameters?.media || channel.url);
|
||||||
|
|||||||
Reference in New Issue
Block a user