Closed JustalK closed 4 years ago
it seems to work if I add the timeout to 1min
This might be the result of MAL being slow to answer sometimes
So this definitely happens when MAL has problems answering requests and does not come from the library. Hence I'm closing this.
Hello,
I have been interested by your scrapper for MAL but by running your test, I am facing this problem :
npm test
After multiple try, I manage to see that it always appends on the same part of the code. By example, for the test checking that Naruto has 500 episode, you have a 5 recursive calls. You get all the pages one after the other. Same goes for Drifters. But Ava has a timeout error trigger if the connection is a bit too long.