Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zoro fetchEpisodeSources and fetchEpisodeServers fixed #594

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

xer-on
Copy link

@xer-on xer-on commented Oct 23, 2024

What kind of change does this PR introduce?
= i fixed zoro fetchEpisodeSources and also added fetchEpisodeServers

Did you add tests for your changes?
= yes

If relevant, did you update the documentation?
= no already updated

Summary

Other information

src/providers/anime/zoro.ts Show resolved Hide resolved
): IExtendedEpisodeServer | undefined {
const serverMap: { [key: string]: string } = {
[StreamingServers.VidStreaming]: 'HD-1',
[StreamingServers.VidCloud]: 'HD-2',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The function should accept multiple values like 'VidCloud' and 'VidStreaming' because the user won't know they are labeled as 'HD-1' or 'HD-2' to select them. It should also be case-insensitive. The function below should updated accordingly.

throw err;
}
};
// override fetchEpisodeSources = async (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this commented block

@xer-on xer-on marked this pull request as draft November 1, 2024 19:45
@khysokhorn
Copy link

Screenshot 2024-12-08 at 11 22 23 in the morning

hello, Did you have this issue as me, I try to use node v20.18.0,
but still have this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants