Closed ArtyCooL closed 2 years ago
We don't currently support throttle in this library (mostly because up to now nobody had this issue), but it's a feature that could be added.
Here is the new error I'm getting when I'm trying to export reviews by each game (one by one in a short period of time). I guess it's all related to frequent requests to iTunes servers.
We don't currently support throttle in this library (mostly because up to now nobody had this issue), but it's a feature that could be added.
I would be very much interested in a throttle option. A team member sitting in the Philippines can't update our 311 iPhone app listings without dozens of errors.
If there is interest, I would offer a bounty of $100 in Bitcoin for this feature.
I don't have time or plans to work on this, but can review the code if someone else does. The google-play-scraper implementation can be used as a guide: https://github.com/facundoolano/google-play-scraper/blob/9473a885361dc4de4827bd709966064e09da09c2/lib/utils/request.js#L3-L15
I'm trying to export reviews by looping through 2 arrays of data (10 games and 38 countries) and iTunes reviews pages. Something like this (I'm not good at coding):
I'm getting this in the output file:
I've searched for workaround and tried to delay each request with
setTimeout
(in many various ways) with no success.I would like to know if it's possible to add
throttle
option like in google-play-scraper to avoid this error?