From 91e3e11fa5d51a693acde780d6b5111cbefe9722 Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Mon, 17 Feb 2025 20:33:16 -0700 Subject: [PATCH] make fedapi require custom token --- src/providers/sources/fedapi.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/providers/sources/fedapi.ts b/src/providers/sources/fedapi.ts index 53e9378..cef8d27 100644 --- a/src/providers/sources/fedapi.ts +++ b/src/providers/sources/fedapi.ts @@ -154,8 +154,9 @@ async function comboScraper(ctx: ShowScrapeContext | MovieScrapeContext): Promis export const FedAPIScraper = makeSourcerer({ id: 'fedapi', name: 'FED API (4K)', - rank: getUserToken() ? 240 : 140, - disabled: false, + rank: 240, + // rank: getUserToken() ? 240 : 140, + disabled: !getUserToken(), flags: [flags.CORS_ALLOWED], scrapeMovie: comboScraper, scrapeShow: comboScraper,