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
75 stars 52 forks source link

Null episodes when ep list is exactaly at 500 #5

Closed Subu19 closed 3 years ago

Subu19 commented 3 years ago

Description i was fetching data for NARUTO SHIPPUDEN and it returned null episodes.

When it happens? if an anime has total number of episodes 100/200/300 and so on

Why it happens? After knowing this bug, i looked into package and found something in app.js animeContentHandler was splitting "-" from episode list but there wont be any "-" if the anime has total episodes of 100/200/300

How i fixed it image

i fixed it but its a npm package so it will return back to default code when "npm install"

Please fix this package soon.

ChrisMichaelPerezSantiago commented 3 years ago

@Subu19 I have merged your correction, and I have updated the pkg to v1.0.2

Thank you for your contribution!