Skip to content

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
@riimuru riimuru merged commit 933c49c into consumet:main Jan 29, 2025
3 checks passed
pappybadmosh pushed a commit to pappybadmosh/api.consumet.org that referenced this pull request Mar 17, 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.

2 participants