Update vidsrc.su, add server 3
Some checks are pending
Testing / Testing (push) Waiting to run

This commit is contained in:
TPN 2025-01-22 00:22:29 +05:30 committed by GitHub
parent c8b2aa29b6
commit 8dd3fcc1de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,7 @@ async function comboScraper(ctx: ShowScrapeContext | MovieScrapeContext): Promis
let playlist;
// we only want flixhq which is server 1 and server 2
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');
const captionsDataMatch = embedPage.match(/const subtitles = +(\[.*?\])/s);