| The Doctor |
01-16-2017 06:04 AM |
Quote:
Posted by Zara2
(Post 756825)
How?
|
First, download your Google data here: https://takeout.google.com/settings/takeout. Make sure you only select the option for Searches so the search doesn't take forever.
Then, download and extract the zip file that is sent to your email. There will be a folder called Searches with a bunch of json files in it.
Download the following python code, and call the file list.py. Put it in the same directory as the json files.
PHP Code:
#!/usr/bin/python
import json, os
files = [f for f in os.listdir('.') if os.path.isfile(f)] for f in files: if "py" in f: continue json_data=open(f) data = json.load(json_data) json_data.close() for i in range(0, len (data['event'])): print data['event'][i]['query']['query_text'].encode('ascii', 'ignore')
Use the following command to run the python code. This works on Linux and Mac, but I think it'll be different for Windows.
PHP Code:
python list.py > ../out.txt
Copy and paste the contents of that text file into wordle.net.
|