facundoolano / google-play-scraper

Node.js scraper to get data from Google Play
MIT License
2.3k stars 626 forks source link

... 99 more items when scraping lists #394

Open MaxSRichter opened 4 years ago

MaxSRichter commented 4 years ago

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!

TravisWhitehead commented 4 years ago

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

yussufbiyik commented 2 years ago

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