News for hackers. Stuff that matters.
Re:Remove Google Search History Before New Privacy Policy Ta... by aschobel on Wednesday February 22, 2012 @04:20AM (#3620109)
Is there a way to export the search history?

I have close to 45k searches over 7 years, would love to keep that data and mine it myself.

Re:Remove Google Search History Before New Privacy Policy Ta... by bnr on Wednesday February 22, 2012 @04:56AM (#3620199)
Re:Remove Google Search History Before New Privacy Policy Ta... by aschobel on Wednesday February 22, 2012 @06:01AM (#3620366)
Thanks, it's only exporting 922 searches for me.

Increasing the num=100000 argument doesn't seem to impact this limit.

One would think that your search history should be a core part of their data liberation effort.

Re:Remove Google Search History Before New Privacy Policy Ta... by m0tive on Wednesday February 22, 2012 @06:06AM (#3620376)
You can specify the date to export, so could step back exporting batches until you've got everything.

https://www.google.com/history/lookup?month=11&day=30...

It shouldn't be too hard to write a script to scrape you're whole history...

Re:Remove Google Search History Before New Privacy Policy Ta... by m0tive on Wednesday February 22, 2012 @07:34AM (#3620580)
Hacked this together to do the job:

https://gist.github.com/1884821

Re:Remove Google Search History Before New Privacy Policy Ta... by oxxx on Wednesday February 22, 2012 @10:14AM (#3621135)
Doesn't work for me:

export.rb:1:in `require': no such file to load -- mechanize (LoadError) from export.rb:1

edit: nvm, installed libwww-mechanize-ruby and it's working fine.

Re:Remove Google Search History Before New Privacy Policy Ta... by ssn on Wednesday February 22, 2012 @08:39AM (#3620785)
You can try this bookmarklet to download the full history: http://geeklad.com/updated-script-to-download-google-history