Graalians

Graalians (https://www.graalians.com/forums/index.php)
-   Off-Topic Chat (https://www.graalians.com/forums/forumdisplay.php?f=14)
-   -   My Search History Visualized (https://www.graalians.com/forums/showthread.php?t=37915)

The Doctor 01-16-2017 04:27 AM

My Search History Visualized
 
1 Attachment(s)
It's been a while since I've posted here, and I've been reminded today of my extensive prior addiction to this game.

Google allows you to export your search history in your account into an archive. With this archive, I was able to create a script that generates a text document with every single search term since 2013.

To visualize all of the data, I decided to take all of the text in the document and create a word cloud from it. Below is a picture of my findings, with the most frequent term as the biggest word.

http://www.graalians.com/forums/atta...1&d=1484540831

Shmegg 01-16-2017 04:33 AM

Not gonna happen!
Cool, nonetheless.

Zara2 01-16-2017 05:42 AM

How?

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 jsonos

files 
= [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(0len (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.

Advent 01-16-2017 06:05 AM

i want to expose my internet history too



http://imgur.com/RrJjzJm.png

Mangsi 01-16-2017 06:09 AM

Quote:

Posted by The Doctor (Post 756832)
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 jsonos

files 
= [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(0len (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.

Dude she's 11 years old

The Doctor 01-16-2017 06:10 AM

Quote:

Posted by Mangsi (Post 756837)
Dude she's 11 years old

Just letting her know how I did it ¯\_(ツ)_/¯

Zara2 01-16-2017 06:13 AM

Lol thnx but now im so lazy + im on my phone =_="

Yog 01-16-2017 07:45 PM

i dont use incognito. nty

even if i did want to i have no idea what the **** to do

Eugeen 01-17-2017 01:15 AM

Mine would probably just be one word :^)

Mangsi 01-17-2017 01:31 AM

Quote:

Posted by Eugeen (Post 756994)
Mine would probably just be one word :^)

Same tbh

Homestuck

Kms

Weeno 01-17-2017 02:04 AM

But my history is cleared

Ryan 01-17-2017 08:04 AM

Quote:

Posted by Weeno (Post 757002)
But my history is cleared

I'd assume its full of out of date memes that aren't funny

Zara2 01-17-2017 08:30 AM

Hahahahaahahahahahahahahahahahahahahaha

Admiral 01-17-2017 10:25 AM

Is there some sort of application that will convert it into a word document for you? I actually think this is pretty neat and definitely a good laugh, but my programming skills are lacking!!


All times are GMT. The time now is 03:26 PM.

Powered by vBulletin/Copyright ©2000 - 2026, vBulletin Solutions Inc.