consumet / api.consumet.org

A Modern Search Engine API for Anime, Movies/TVShows, Books, Light Novels, Manga, etc.
https://docs.consumet.org
GNU General Public License v3.0
1.22k stars 548 forks source link

Gogoanime: Streaming links not working #480

Closed carlosesteven closed 1 year ago

carlosesteven commented 1 year ago

Describe the bug

The endpoint stopped working a few hours ago.

Steps to reproduce

  1. Fetch: https://api.consumet.org/anime/gogoanime/watch/spy-x-family-episode-1

Expected behavior

{
  "headers": {
      "Referer": "string",
  },
  "sources": [
      {
      "url": "string",
      "quality": "string",
      "isM3U8": true
      }
  ]
}

Based on: https://docs.consumet.org/rest-api/Anime/gogoanime/get-anime-episode-streaming-links

Actual behavior

{"message":{}}

Additional context

dopeCape commented 1 year ago

@carlosesteven just made a pr regarding this issue, https://github.com/dopeCape/consumet.ts you can use this fork of their scrapper until the pr is merged.

carlosesteven commented 1 year ago

@carlosesteven just made a pr regarding this issue, https://github.com/dopeCape/consumet.ts you can use this fork of their scrapper until the pr is merged.

@dopeCape Thanks, with those changes it worked again.

Anuragkumarsah commented 1 year ago

@carlosesteven just made a pr regarding this issue, https://github.com/dopeCape/consumet.ts you can use this fork of their scrapper until the pr is merged.

I tried installing this fork using (npm install https://github.com/dopeCape/consumet.ts) but still I am getting the same error Episode not found. Can you please help me out 🙏

carlosesteven commented 1 year ago

@carlosesteven just made a pr regarding this issue, https://github.com/dopeCape/consumet.ts you can use this fork of their scrapper until the pr is merged.

I tried installing this fork using (npm install https://github.com/dopeCape/consumet.ts) but still I am getting the same error Episode not found. Can you please help me out 🙏

@Anuragkumarsah Update this line: https://github.com/carlosesteven/api.consumet.org/blob/cc625dcdd9b3e8c856702c3c2598ec68214587ca/package.json#L26

Then run again: npm install

riimuru commented 1 year ago

I have merged the changes on pr #376, the issue should be fixed now.