Merge pull request #59 from WBRK-dev/main

fix: fixed using specific server for episode sources
This commit is contained in:
Ritesh Ghosh
2024-07-18 23:53:35 +05:30
committed by GitHub
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -114,18 +114,18 @@ export type AnimeCategories =
| "completed"; | "completed";
export type AnimeServers = export type AnimeServers =
| "vidstreaming" | "hd-1"
| "hd-2"
| "megacloud" | "megacloud"
| "streamsb" | "streamsb"
| "streamtape" | "streamtape";
| "vidcloud";
export enum Servers { export enum Servers {
VidStreaming = "vidstreaming", VidStreaming = "hd-1",
MegaCloud = "megacloud", MegaCloud = "megacloud",
StreamSB = "streamsb", StreamSB = "streamsb",
StreamTape = "streamtape", StreamTape = "streamtape",
VidCloud = "vidcloud", VidCloud = "hd-2",
AsianLoad = "asianload", AsianLoad = "asianload",
GogoCDN = "gogocdn", GogoCDN = "gogocdn",
MixDrop = "mixdrop", MixDrop = "mixdrop",
+1 -1
View File
@@ -4,7 +4,7 @@ import { scrapeAnimeEpisodeSources } from "../src/parsers/index.js";
test("returns anime episode streaming link(s)", async () => { test("returns anime episode streaming link(s)", async () => {
const data = await scrapeAnimeEpisodeSources( const data = await scrapeAnimeEpisodeSources(
"steinsgate-3?ep=230", "steinsgate-3?ep=230",
"vidstreaming", "hd-1",
"sub" "sub"
); );