Skip to content

Commit

Permalink
Merge pull request #59 from WBRK-dev/main
Browse files Browse the repository at this point in the history
fix: fixed using specific server for episode sources
  • Loading branch information
ghoshRitesh12 authored Jul 18, 2024
2 parents c86fb35 + bf2c69e commit c02cc3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/types/anime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion test/animeEpisodeSrcs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);

Expand Down

0 comments on commit c02cc3f

Please sign in to comment.