google-play-scraper icon indicating copy to clipboard operation
google-play-scraper copied to clipboard

... 99 more items when scraping lists

Open MaxSRichter opened this issue 6 years ago • 2 comments

In my list output, I'm only receiving 100 values despite the default value being 500. The bottom of the output reads "... 99 more items".

var gplay = require('google-play-scraper');

gplay.list({ category: gplay.category.GAME, collection: gplay.collection.TOP_FREE, throttle: 10 }) .then(console.log, console.log);

Thanks!

MaxSRichter avatar Mar 25 '20 19:03 MaxSRichter

This is not an issue with google-play-scraper, it's a limit on how many things console.log will output by default. If you search the issues for this repo you will find numerous issues asking about the same behavior.

See https://stackoverflow.com/questions/41669039/dumping-whole-array-console-log-and-console-dir-output-num-more-items

TravisWhitehead avatar Mar 27 '20 01:03 TravisWhitehead

You can console.log each item of the array and get rid of this behavior. This occurs because you're logging the whole array.

yussufbiyik avatar Sep 01 '22 08:09 yussufbiyik