A Docker-based tool to scrape metadata from Google Play Store URLs using the google-play-scraper library.
docker run --rm ghcr.io/forkbombeu/appraccoon:latest "https://play.google.com/store/apps/details?id=com.whatsapp"docker build -t appraccoon .docker run --rm appraccoon "https://play.google.com/store/apps/details?id=com.example.app"Replace the URL with the actual Google Play Store app URL you want to scrape.
docker run --rm appraccoon "https://play.google.com/store/apps/details?id=com.whatsapp"This will output the app metadata as JSON to stdout.
The script outputs detailed metadata about the app including:
- App name and description
- Developer information
- Ratings and reviews
- Screenshots and images
- Version information
- Download counts
- And much more...
- If no URL is provided, the script will exit with an error message
- If the URL format is invalid, the script will attempt to extract the app ID
- Any scraping errors will be reported to stderr while keeping stdout clean for the JSON output
Use the provided script:
./publish.shOr manually:
-
Login to GitHub Container Registry:
echo $GITHUB_TOKEN | docker login ghcr.io -u USERNAME --password-stdin # or interactively: docker login ghcr.io
-
Tag and push the image:
docker tag appraccoon ghcr.io/forkbombeu/appraccoon:latest docker tag appraccoon ghcr.io/forkbombeu/appraccoon:v1.0.0 docker push ghcr.io/forkbombeu/appraccoon:latest docker push ghcr.io/forkbombeu/appraccoon:v1.0.0
The repository includes a GitHub Actions workflow that automatically builds and publishes the Docker image to GitHub Container Registry (ghcr.io) when:
- Code is pushed to the
mainbranch - A new version tag is created (e.g.,
v1.0.0)
No additional setup required! The workflow uses the built-in GITHUB_TOKEN which automatically has the necessary permissions.
To trigger a new release:
git tag v1.0.0
git push origin v1.0.0Once published, users can run the scraper directly without building:
docker run --rm ghcr.io/forkbombeu/appraccoon:latest "https://play.google.com/store/apps/details?id=com.whatsapp"To run locally without Docker:
npm install
node scraper.js "https://play.google.com/store/apps/details?id=com.example.app"