Closed hasilon88 closed 7 months ago
Can someone explain to me what failed and what's the error please. I don't understand it.
Can someone explain to me what failed and what's the error please. I don't understand it.
You only changed js file? Not ts one?
yeah, since the ts file only contains signatures, i didn't need to modify the ts file
Consumet were created using typescript. That file that u just modified is a builded file that was created by running npm run build. U need to modify the .ts one. And the .js files should not be versioned.
Which related ts file should i modify because the ones i see are all interfaces (method signatures)
I think that this is what u are looking for.
https://github.com/consumet/consumet.ts/blob/master/src%2Fproviders%2Fanime%2Fgogoanime.ts#L27
Oh thank you, I couldn't find it earlier, I'll try changing that instead.
Suddenly, the meta/anilist endpoint is not working and the episodes is also empty.
Oh thank you, I couldn't find it earlier, I'll try changing that instead.
Yw mate :D
Bugfix
Tested and everything works except getting the episodes but that isn't available on the gogoanime website as well
Summary
I am self hosting a API that uses this library and everything was fine until suddenly, the info endpoint kept returning a empty object. I looked around and modified the code a bit until I finally saw a error message that said that the website related to the SSL certificate isn't correct and it gave me a list of URLs that were. I replaced the old
ajax
#URL by the new recommended one and it starting working again.The only issue still left is that the list of episodes is still empty but that is a issue directly from gogoanime. The reason I know this is because if you go on their website, you will see that the episodes lists never load so I believe once they fix that issue, the list of episode should work here as well.
2 users posted a issue about the exact same bug that this fixes:
I am sorry if this is not very clear, this is my first contribution ever. If you want to ask me anything, please don't hesitate.