roflmuffin / node-anime-scraper

Scrapes information from Gogoanime to get Anime, Episode & Video information & urls.
59 stars 17 forks source link

AnimeUtils.searchByName breaks all future requests #5

Closed roflmuffin closed 9 years ago

roflmuffin commented 9 years ago

For some reason, using AnimeUtils.searchByName causes all future requests through anime-scraper to break and return ECONNRESET connection resets.

No idea what the issue is but I believe it might have something to do with CloudFlare which KissAnime uses.

As a result, Anime.fromName is not currently functional (as it uses searchByName) to instantiate an anime from a name. Using it WILL break your app until reloaded.

Thanks to Stefan for pointing this out.

roflmuffin commented 9 years ago

Resolved in 2d937b1c50a584ac3f81d32bd7e712c197b56ba5. Issue caused by accidentally reusing headers from previous requests.