mirror of
https://github.com/p-stream/providers.git
synced 2026-01-11 20:10:33 +00:00
proxy rgshows
This commit is contained in:
parent
e32826068d
commit
2a8110b4a9
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { flags } from '@/entrypoint/utils/targets';
|
||||
import { MovieScrapeContext, ShowScrapeContext } from '@/utils/context';
|
||||
import { NotFoundError } from '@/utils/errors';
|
||||
import { createM3U8ProxyUrl } from '@/utils/proxy';
|
||||
|
||||
import { SourcererOutput, makeSourcerer } from '../base';
|
||||
|
||||
|
|
@ -46,8 +47,7 @@ async function comboScraper(ctx: ShowScrapeContext | MovieScrapeContext): Promis
|
|||
{
|
||||
id: 'primary',
|
||||
type: 'hls',
|
||||
playlist: streamUrl,
|
||||
headers: m3u8Headers,
|
||||
playlist: createM3U8ProxyUrl(streamUrl, m3u8Headers),
|
||||
flags: [flags.CORS_ALLOWED],
|
||||
captions: [],
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue