mirror of
https://github.com/p-stream/providers.git
synced 2026-01-11 20:10:33 +00:00
make cloudnestra require extension
This commit is contained in:
parent
2bc79b409a
commit
6bea2a2ee5
1 changed files with 5 additions and 5 deletions
|
|
@ -1,9 +1,7 @@
|
|||
import type { ShowMedia } from '@/entrypoint/utils/media';
|
||||
import { flags } from '@/entrypoint/utils/targets';
|
||||
import { SourcererOutput, makeSourcerer } from '@/providers/base';
|
||||
import { MovieScrapeContext, ShowScrapeContext } from '@/utils/context';
|
||||
import { NotFoundError } from '@/utils/errors';
|
||||
import { createM3U8ProxyUrl } from '@/utils/proxy';
|
||||
|
||||
import { decode, mirza } from './decrypt';
|
||||
|
||||
|
|
@ -102,8 +100,10 @@ async function vidsrcScrape(ctx: MovieScrapeContext | ShowScrapeContext): Promis
|
|||
{
|
||||
id: 'vidsrc-cloudnestra',
|
||||
type: 'hls',
|
||||
playlist: createM3U8ProxyUrl(streamUrl, headers),
|
||||
flags: [flags.CORS_ALLOWED],
|
||||
playlist: streamUrl,
|
||||
headers,
|
||||
proxyDepth: 2,
|
||||
flags: [],
|
||||
captions: [],
|
||||
},
|
||||
],
|
||||
|
|
@ -115,7 +115,7 @@ export const vidsrcScraper = makeSourcerer({
|
|||
id: 'cloudnestra',
|
||||
name: 'Cloudnestra',
|
||||
rank: 180,
|
||||
flags: [flags.CORS_ALLOWED],
|
||||
flags: [],
|
||||
scrapeMovie: vidsrcScrape,
|
||||
scrapeShow: vidsrcScrape,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue