From a0d039ecc120cfeb8352c6b525ee1e766555f9ec Mon Sep 17 00:00:00 2001 From: WBRK-dev Date: Sun, 28 Apr 2024 10:26:39 +0200 Subject: feat: added the ability to grab episode sources from raw servers in endpoint `/episode-srcs` --- src/utils/methods.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/methods.ts') diff --git a/src/utils/methods.ts b/src/utils/methods.ts index 9d89822..1ed0c88 100644 --- a/src/utils/methods.ts +++ b/src/utils/methods.ts @@ -191,7 +191,7 @@ export const extractMostPopularAnimes = ( export function retrieveServerId( $: CheerioAPI, index: number, - category: "sub" | "dub" + category: "sub" | "dub" | "raw" ) { return ( $(`.ps_-block.ps_-block-sub.servers-${category} > .ps__-list .server-item`) -- cgit v1.2.3