From 9e23831b8fa12ff69fc2e4fc7fafb137e60733b6 Mon Sep 17 00:00:00 2001 From: XSWY <134489068+0pt1onz@users.noreply.github.com> Date: Wed, 15 Apr 2026 15:38:06 +0000 Subject: [PATCH] patching fed api --- src/providers/sources/fed/fedapi.ts | 35 ++++++++++++++--------------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/src/providers/sources/fed/fedapi.ts b/src/providers/sources/fed/fedapi.ts index 062707e..3b4ee9f 100644 --- a/src/providers/sources/fed/fedapi.ts +++ b/src/providers/sources/fed/fedapi.ts @@ -99,26 +99,25 @@ async function FedScraper(ctx: MovieScrapeContext | ShowScrapeContext): Promise< }); } - return { - embeds: [], - stream: [ - { - id: 'primary', - type: 'file', - flags: [flags.CORS_ALLOWED], - captions, - qualities: { - unknown: { - type: 'mp4', - url: finalStreamUrl, - }, +return { + embeds: [], + stream: [ + { + id: 'primary', + type: 'file', + flags: [], + captions, + qualities: { + unknown: { + type: 'mp4', + url: finalStreamUrl, }, - headers: { - 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36', - 'Referer': 'https://www.febbox.com/', + }, + headers: { + 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36', }, - } as const, - ], + } as const, + ], }; }