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

fix+feat(anix.sh): Added type variable to recent-episodes, watch and servers to fetch SUB, DUB, RAW; added some error handling #655

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Shikiiii
Copy link
Contributor

@Shikiiii Shikiiii commented Jan 13, 2025

  • Added type variable to endpoints /recent-episodes, /watch & /servers to be able to fetch different types like SUB, DUB, RAW appropriately.
  • Added some 404 error handling to these endpoints.
  • Added error handling for empty anime id and episode id.
  • Changed variable server to use StreamingServers from @consumet/extensions/dist/models instead of just a string.

Sorry for the double-PR, I completely missed those and thanks to @carlosesteven for pointing it out and providing some of the code for this PR.

…d servers, added servers-type to fetch SUB, DUB, etc., added some error handling
@Shikiiii Shikiiii marked this pull request as ready for review January 13, 2025 13:25
@Shikiiii
Copy link
Contributor Author

Shikiiii commented Jan 15, 2025

Decided to merge servers and servers-type into 1 endpoint: servers since it was pointless to have both of them.

Also made documentation for this provider.

Edit 18/01: By the way, Anix has an ongoing issue with their vidstream server. Almost none of the videos are loading causing the API endpoints to throw errors/empty responses, so if tests are failing, that is why.

@Shikiiii Shikiiii changed the title fix+feat(anix.sh): Added type variable to recent-episodes, watch and servers, added servers-type to fetch SUB, DUB, etc., added some error handling fix+feat(anix.sh): Added type variable to recent-episodes, watch and servers to fetch SUB, DUB, RAW; added some error handling Jan 15, 2025
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.

1 participant