Skip to content

Parses a Google Play cards page, exporting pretty formatted JSON.

License

Notifications You must be signed in to change notification settings

danarnold/play-to-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

play-to-json

play_to_json.rb is a quick script I wrote to generate a JSON output from a Google Play page. It will work for search results, app search results pages, your wishlist, etc.

Usage

Download the page you'd like to parse; I've been right-clicking, Save As..., and then choosing Format: HTML Only in Chrome. Then, just point the script at the file like this:

ruby play_to_json.rb '/Users/me/Downloads/search_results.html'

You will get pretty-formatted JSON to STDOUT. You can always redirect the output to a file.

ruby play_to_json.rb 'file.html' > output_file.json

That's it!

Requirements

You'll need the gem nokogiri to run this script.

About

Parses a Google Play cards page, exporting pretty formatted JSON.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages