Added IP_LOCKED flag amonst other things requested by mrjvs

This commit is contained in:
MemeCornucopia
2023-12-14 12:40:01 -05:00
parent f3720161ac
commit 671c558c55
7 changed files with 45 additions and 17 deletions

View File

@@ -1,3 +1,4 @@
import { flags } from '@/main/targets';
import { SourcererOutput, makeSourcerer } from '@/providers/base';
import { NotFoundError } from '@/utils/errors';
@@ -19,7 +20,7 @@ async function universalScraper(ctx: ShowContext | MovieContext): Promise<Source
stream: {
playlist: videoUrl,
type: 'hls',
flags: [],
flags: [flags.IP_LOCKED],
captions: [],
},
};