Merge pull request #59 from WBRK-dev/main
fix: fixed using specific server for episode sources
This commit is contained in:
+5
-5
@@ -114,18 +114,18 @@ export type AnimeCategories =
|
||||
| "completed";
|
||||
|
||||
export type AnimeServers =
|
||||
| "vidstreaming"
|
||||
| "hd-1"
|
||||
| "hd-2"
|
||||
| "megacloud"
|
||||
| "streamsb"
|
||||
| "streamtape"
|
||||
| "vidcloud";
|
||||
| "streamtape";
|
||||
|
||||
export enum Servers {
|
||||
VidStreaming = "vidstreaming",
|
||||
VidStreaming = "hd-1",
|
||||
MegaCloud = "megacloud",
|
||||
StreamSB = "streamsb",
|
||||
StreamTape = "streamtape",
|
||||
VidCloud = "vidcloud",
|
||||
VidCloud = "hd-2",
|
||||
AsianLoad = "asianload",
|
||||
GogoCDN = "gogocdn",
|
||||
MixDrop = "mixdrop",
|
||||
|
||||
@@ -4,7 +4,7 @@ import { scrapeAnimeEpisodeSources } from "../src/parsers/index.js";
|
||||
test("returns anime episode streaming link(s)", async () => {
|
||||
const data = await scrapeAnimeEpisodeSources(
|
||||
"steinsgate-3?ep=230",
|
||||
"vidstreaming",
|
||||
"hd-1",
|
||||
"sub"
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user