aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorWBRK-dev <[email protected]>2024-04-28 10:26:39 +0200
committerWBRK-dev <[email protected]>2024-04-28 10:26:39 +0200
commita0d039ecc120cfeb8352c6b525ee1e766555f9ec (patch)
tree3b379b2547272ab67f4e2a557f04ccbeacf98f0e /src/utils
parent22599a38d9e08c4dc5cd325c53f5509980f435fe (diff)
downloadaniwatch-api-a0d039ecc120cfeb8352c6b525ee1e766555f9ec.tar.xz
aniwatch-api-a0d039ecc120cfeb8352c6b525ee1e766555f9ec.zip
feat: added the ability to grab episode sources from raw servers in endpoint `/episode-srcs`
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/methods.ts2
1 files changed, 1 insertions, 1 deletions
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`)