Skip to content

Commit

Permalink
Update vidsrc.su, add server 3
Browse files Browse the repository at this point in the history
ztpn authored Jan 21, 2025
1 parent c8b2aa2 commit 8dd3fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/sources/vidsrcsu.ts
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 8dd3fcc

Please sign in to comment.