mirror of
https://github.com/p-stream/providers.git
synced 2026-04-21 17:32:19 +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, {
|
const res = await ctx.proxiedFetcher.full(url, {
|
||||||
method: 'HEAD',
|
method: 'HEAD',
|
||||||
headers: {
|
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');
|
if (res.statusCode !== 200) throw new NotFoundError('stream not found');
|
||||||
|
|
||||||
|
ctx.progress(100);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
stream: [
|
stream: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue