feat: added the ability to grab episode sources from raw servers in endpoint /episode-srcs

This commit is contained in:
WBRK-dev
2024-04-28 10:26:39 +02:00
parent 22599a38d9
commit a0d039ecc1
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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`)