app-store-scraper icon indicating copy to clipboard operation
app-store-scraper copied to clipboard

fix: only lookup up to 200 ids per request

Open jonaskuske opened this issue 4 years ago • 0 comments

The /lookup endpoint can only handle up to 200 ids per request, if you send more you get 502 Bad Gateway.

This is what's happening here: #161

To avoid this error, we can split up all requested IDs into chunks of 200, then send a separate request per chunk and merge the results of the requests into a single result array again.

fix #161

jonaskuske avatar Oct 15 '21 15:10 jonaskuske