roflmuffin / node-anime-scraper

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

Follow redirects when requesting new cookies #18

Closed roflmuffin closed 7 years ago

roflmuffin commented 7 years ago

KissAnime often changes domains causing issues with the module when it does so.

Implement followRedirect on the Cloudscraper request to resolve this.

shirotech commented 7 years ago

The latest cloudscraper seems to support this already at 1.4.1, a simple update in package.json would do. Mind if I do a PR?

roflmuffin commented 7 years ago

Of course go ahead, please increment the patch version if you do (should be at 2.1.5 afterwards), and I will publish to npm when I get a spare moment.

roflmuffin commented 7 years ago

Fixed by Van's PR #19. Kudos.