mirror of
https://github.com/sussy-code/providers.git
synced 2026-05-12 21:00:38 +00:00
This commit is contained in:
parent
c8b2aa29b6
commit
8dd3fcc1de
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ async function comboScraper(ctx: ShowScrapeContext | MovieScrapeContext): Promis
|
||||||
let playlist;
|
let playlist;
|
||||||
// we only want flixhq which is server 1 and server 2
|
// we only want flixhq which is server 1 and server 2
|
||||||
servers.forEach((server) => {
|
servers.forEach((server) => {
|
||||||
if (['Server 1', 'Server 2'].includes(server.label) && server.url) playlist = server.url;
|
if (['Server 1', 'Server 2', 'Server 3'].includes(server.label) && server.url) playlist = server.url;
|
||||||
});
|
});
|
||||||
if (!playlist) throw new NotFoundError('No flixhq playlist found');
|
if (!playlist) throw new NotFoundError('No flixhq playlist found');
|
||||||
const captionsDataMatch = embedPage.match(/const subtitles = +(\[.*?\])/s);
|
const captionsDataMatch = embedPage.match(/const subtitles = +(\[.*?\])/s);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue