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";
|
| "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",
|
||||||
|
|||||||
@@ -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"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user