consumet / consumet.ts

Nodejs library that provides high-level APIs for obtaining information on various entertainment media such as books, movies, comic books, anime, manga, and so on.
https://consumet.org/extensions/list/
GNU General Public License v3.0
393 stars 222 forks source link

Episode not found (gogoanime) #432

Closed adrianooo30 closed 9 months ago

adrianooo30 commented 9 months ago

Describe the bug

Episode not found

Steps to reproduce

import { ANIME } from "@consumet/extensions";

async function getEpisodeSources(episodeId) {
  const gogoanime = new ANIME.Gogoanime();
  const sources = await gogoanime.fetchEpisodeSources(
    episodeId,
  );

  return sources;
}

getEpisodeSources("bokura-no-ameiro-protocol-episode-1");

Expected behavior

This should return the sources

Actual behavior

but returning an error that says Episode not found

Additional context

I'm suspecting that this is because gogoanimehd.io is down, and cannot be able to scrape those episode sources.

riimuru commented 9 months ago

@adrianooo30 This issue has already been fixed as you can see here gogoanime.ts#L23. The code no longer uses gogoanimehd.io. Put this https://github.com/consumet/consumet.ts instead of the version number to get the latest updates before they're released.