mirror of
https://github.com/p-stream/providers.git
synced 2026-03-11 17:55:36 +00:00
add headers?
This commit is contained in:
parent
eb66592b8c
commit
c1ffa7d04e
1 changed files with 6 additions and 0 deletions
|
|
@ -31,6 +31,12 @@ async function comboScraper(ctx: MovieScrapeContext): Promise<SourcererOutput> {
|
|||
id: 'primary',
|
||||
type: 'hls',
|
||||
playlist: `${baseUrl}/movies/${ctx.media.tmdbId}/index.m3u8`,
|
||||
headers: {
|
||||
referer: 'https://spencerdevs.xyz/',
|
||||
origin: 'https://spencerdevs.xyz',
|
||||
'User-Agent':
|
||||
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
|
||||
},
|
||||
flags: [flags.CORS_ALLOWED, flags.PROXY_BLOCKED],
|
||||
captions: [],
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue