mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 09:13:25 +00:00
Merge branch 'movie-web:dev' into dev
This commit is contained in:
@@ -32,8 +32,10 @@ export const vidsrcembedScraper = makeEmbed({
|
||||
if (!finalUrl.includes('.m3u8')) throw new Error('Unable to find HLS playlist');
|
||||
|
||||
let setPassLink = html.match(setPassRegex)?.[1];
|
||||
if (!setPassLink) throw new Error('Unable to find set_pass.php link');
|
||||
|
||||
// isn't neeeded, the stream works without it anyway
|
||||
// shouldn't fail if the setpass link is not found
|
||||
if (setPassLink) {
|
||||
if (setPassLink.startsWith('//')) {
|
||||
setPassLink = `https:${setPassLink}`;
|
||||
}
|
||||
@@ -46,6 +48,7 @@ export const vidsrcembedScraper = makeEmbed({
|
||||
referer: ctx.url,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
return {
|
||||
stream: [
|
||||
|
Reference in New Issue
Block a user