ChrisMichaelPerezSantiago / gogoanime

Gogoanime is a custom API that provides data from the 10.gogoanime.io website. You will have access to the entire catalog whether movies, series, current episodes, etc., with English subtitles.
MIT License
74 stars 54 forks source link

replacing node-fetch with axios #2

Closed gentij closed 4 years ago

gentij commented 4 years ago

Hi, I was trying to make a simple web app using your package, but when I was using it on my express proxy server, the API kept returning an empty array, so I just went ahead and replaced 'node-fetch' with 'axios', and now it's working perfectly. That's why I thought I'd make a PR to 'fix' that issue. I know you are not maintaining the package anymore because you are bussy with your work, but maybe you can just accept the PR. Have a nice day :)

ChrisMichaelPerezSantiago commented 4 years ago

Hi @gentij

Thank you very much for your support!. I'm not really doing maintenance anymore, but if someone makes a pull request, I'll be adding the changes.