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.11k stars 503 forks source link

Unable to get anime streaming link in gogoanime and anilist #436

Closed ShivaBhattacharjee closed 1 year ago

ShivaBhattacharjee commented 1 year ago

Describe the bug

when i send a get request in /anime/gogoanime/watch/spy-x-oshi-no-ko-episode-1 its not returning the streaming link

Steps to reproduce

Send a get request in /anime/gogoanime/watch/spy-x-oshi-no-ko-episode-1 or /meta/anilist/watch/spy-x-oshi-no-ko-episode-1

it wont return any response

Expected behavior

{ "headers": { "Referer": "string", "watchsb": "string", // or null, since only provided with server being equal to "streamsb". "User-Agent": "string" // or null }, "sources": [ { "url": "string", "quality": "string", "isM3U8": true } ] }

Actual behavior

{"message":{}}

Additional context

No response

Dovakiin0 commented 1 year ago

Server is down

ShivaBhattacharjee commented 1 year ago

i have self hosted the api is gogoanime down?

shrkwt commented 1 year ago

Yes I've also self hosted the API. I think the GogoAnime domain used to fetch episode is not working.

saurabhgangule commented 1 year ago

Guys, got any solution?

ShivaBhattacharjee commented 1 year ago

Guys, got any solution?

I think we need to switch to zoro for the time being lets see if that works

shrkwt commented 1 year ago

Yeah, check out https://kimitsu-beta.vercel.app/ I just changed the method of scraping to Zoro and it works so smooth.

JayadityaGit commented 1 year ago

How are you guys, still streaming content in your websites, when the api is down, sorry i am not experinced in web development

ShivaBhattacharjee commented 1 year ago

How are you guys, still streaming content in your websites, when the api is down, sorry i am not experinced in web development

you can self host the api

here my repo https://github.com/ShivaBhattacharjee/AnimeTrix fixed streaming using amvstram

JayadityaGit commented 1 year ago

After seeing your project I got motivation to create my project , here is the problem, I recently learned MERN stack from udemy and found this api, what I did was , I was fetching data using the server and sending it to the frontend and I am using mongodb to store users for auth and thier favorites, I was using zoro one till yesterday and it was working but today it stopped working suddenly... should I make my project open source, so u can give me some guidance bro? I asked Chatgpt about self hosting but my I can only see stars in my head , can you share some resource to learn self hosting.

Thx for your inspiration bro, started following you on github recently

ShivaBhattacharjee commented 1 year ago

After seeing your project I got motivation to create my project , here is the problem, I recently learned MERN stack from udemy and found this api, what I did was , I was fetching data using the server and sending it to the frontend and I am using mongodb to store users for auth and thier favorites, I was using zoro one till yesterday and it was working but today it stopped working suddenly... should I make my project open source, so u can give me some guidance bro? I asked Chatgpt about self hosting but my I can only see stars in my head , can you share some resource to learn self hosting.

Thx for your inspiration bro, started following you on github recently

Self hosting is easy visit the consument documenation(github readme i.e) and see the self hosting section tap on the vercel button and it will host the api you can later use the domain vercel gives you can change the routes for get req also if you make your project open source i will be more than happy to contribute to it

liaxoo commented 1 year ago

Yeah, check out https://kimitsu-beta.vercel.app/ I just changed the method of scraping to Zoro and it works so smooth.

How did you convert AniList id to Zoro id? Did you just make a search with it from the anime name?

ShivaBhattacharjee commented 1 year ago

You can add ?provider=zoro in the url of detail page and get the data using zoro streaming api in streame page

shrkwt commented 1 year ago

Yeah, check out https://kimitsu-beta.vercel.app/ I just changed the method of scraping to Zoro and it works so smooth.

How did you convert AniList id to Zoro id? Did you just make a search with it from the anime name?

To get Zoro or Gogo ID for a particular anime through Anilist Id, we use a mapping service like MALSync (one which is used by Consumet)

This matches many aspects of an anime with ones which are available on Zoro or Gogo and gives a match if found.

Consumet API already does this, just try requesting and on route /meta/anilist/episodes/{your_anime_id}?provider=zoro and it will list all available episodes.

JayadityaGit commented 1 year ago

Yeah I got it !, I will defnitely make it open source when i implement the basic features for a anime streaming website, glad I found some people who resonate with me , now having my 2nd year sem exams , too busy for now, but yeah thanks for your generous guidance man. I feel so stupid not even looking at the doc of the repo haha. Maybe we could Network , grow and share together ...

ShivaBhattacharjee commented 1 year ago

Yeah I got it !, I will defnitely make it open source when i implement the basic features for a anime streaming website, glad I found some people who resonate with me , now having my 2nd year sem exams , too busy for now, but yeah thanks for your generous guidance man. I feel so stupid not even looking at the doc of the repo haha. Maybe we could Network , grow and share together ...

Sure we can network heres a link to my portfolio

https://immashiva.vercel.app/

riimuru commented 1 year ago

The issue has been fixed. Sorry for the inconvenience.