aniwatch-api: Streaming Links endpoint not working

Describe the bug

The route of streaming links aka /episode-srcs is not working.

Expected behavior

Streaming links endpoint:

https://api-aniwatch.onrender.com/anime/episode-srcs?id={episodeId}&server={server}&category={category}

should work as expected and the response should be this response schema:

{
  headers: {
    Referer: string,
    "User-Agent": string,
    ...
  },
  sources: [
    {
      url: string, // .m3u8 hls streaming file
      isM3U8: boolean,
      quality?: string,
    },
    {...}
  ],
  subtitles: [
    {
      lang: "English",
      url: string, // .vtt subtitle file
    },
    {...}
  ],
  anilistID: number | null
}

Actual behavior

It’s not working or giving a 500 or >500 error status code.

Additional context

Well it’ s not working because of several reasons stated below:

  1. Maybe the extractor is outdated
  2. Maybe the keys used to decode encrypted text is invalid or stale
  3. Maybe there is a network error

Well in most cases the endpoints should work after a certain amount of downtime (consider 2 days to be max).

If the downtime is more than 1 or 2 days, then option 1 is the problem, in which case please open an issue informing the same.

About this issue

  • Original URL
  • State: open
  • Created 6 months ago
  • Comments: 19 (14 by maintainers)

Most upvoted comments

@massi-css, @KhadeerBashaShaik , @ayushch80 I have added another extractor for getting anime episodes. The response is a bit all over the place, I will arrange it sometime.

Aniwatch is blocked it’s Hianime now

yeah I noticed that, will see if the all those routes work or not, then I will apply the changes

Aniwatch is blocked it’s Hianime now