Modern command line utility for downloading reviews of an Android application
from the Google Play Store. The original version of this project relied on a
hard-coded Selenium workflow that no longer worked with the Play Store UI. This
updated tool uses the google-play-scraper
library to access reviews directly via HTTP requests, making it faster and more
reliable.
- Fetch reviews for any public Play Store app by app id (e.g.
com.spotify.music). - Choose the number of reviews, language, country and sort order.
- Optional filtering by star rating.
- Save reviews as CSV or JSON.
- Friendly CLI with sensible defaults and helpful error messages.
- Python 3.9 or newer
google-play-scraper
Install the dependency with:
pip install google-play-scraperRun the script directly with Python. Examples below assume the current working directory is the repository root.
python reviews_extraction.py com.spotify.music --count 200The command above saves up to 200 of the newest English reviews from the US
storefront into com_spotify_music_reviews.csv.
- Use
--langand--countryto request a specific locale. - Use
--sortwith one ofrelevant,newest(default) orrating. - Use
--scoreto keep only reviews with a given star rating (1-5).
python reviews_extraction.py com.nintendo.zara --count 100 --lang fr --country ca --sort rating --score 5python reviews_extraction.py com.spotify.music --format json --output spotify.jsonIf --output is omitted when using --format json, the JSON document is
written to stdout.
To replace an existing output file pass --overwrite:
python reviews_extraction.py com.spotify.music -n 50 --overwriteThe CSV writer stores the following columns:
review_iduser_nameuser_imagescorethumbs_up_countreview_created_versionapp_versioncontentreply_contentat(ISO 8601 timestamp)replied_at(ISO 8601 timestamp)
- Empty output – the chosen locale or filters might not have any reviews.
- HTTP errors – retry later; the library respects Google rate limits but the Play Store occasionally blocks repeated requests temporarily.
Feel free to open an issue or submit a PR if you encounter a bug or have ideas for improvements.