mirror of
https://github.com/p-stream/providers.git
synced 2026-01-11 20:10:33 +00:00
Update vidsrccx.ts
This commit is contained in:
parent
e1bcf9a356
commit
cfe3950d8b
1 changed files with 4 additions and 1 deletions
|
|
@ -22,12 +22,15 @@ async function comboScraper(ctx: MovieScrapeContext | ShowScrapeContext): Promis
|
|||
const res = await ctx.proxiedFetcher.full(url, {
|
||||
method: 'HEAD',
|
||||
headers: {
|
||||
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36',
|
||||
'User-Agent':
|
||||
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36',
|
||||
},
|
||||
});
|
||||
|
||||
if (res.statusCode !== 200) throw new NotFoundError('stream not found');
|
||||
|
||||
ctx.progress(100);
|
||||
|
||||
return {
|
||||
stream: [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue