forked from DebaucheryLibrarian/traxxx
Fixed trailer path regex for some Hush sites.
This commit is contained in:
parent
17c9499ec4
commit
be4d025505
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue