Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Retrieve old searches from Google web history

I want to retrieve old Google searches which I did a few years/months back and that are present in Google web history. How can I programmatically retrieve them all?

https://www.google.com/history/?output=rss only provides recent Google searches, but not all of them.

Also this question : How can I retrieve my Google search history? doesn't provide any answer for my question!

like image 860
Pratik Avatar asked Dec 02 '10 08:12

Pratik


People also ask

How can I get my old search history back?

Recover the deleted browsing history in this way. Open a web page in Google Chrome. Type in the link https://www.google.com/settings/... When you enter your Google Account, you will see the list of everything that Google has recorded from your browsing activity.

How far back can I see my Google search history?

Your History page shows the websites you've visited on Chrome in the last 90 days. It doesn't store pages from secure websites, pages you've visited in Incognito mode, or pages you've already deleted from your browsing history.


2 Answers

You can pass month, day and year as parameters to obtain history of a specific day.

E.g. https://www.google.com/history/lookup?month=12&day=1&yr=2010&output=rss for Dec, 1 2010.

There are no ways to obtain history for a full month or year, let alone the entire history. But this information about the parameters must at least enable you to obtain the entire history in some loop which goes one day further back in the time everytime. Be carecul that you don't leech too much in a too short time.

like image 79
BalusC Avatar answered Sep 27 '22 19:09

BalusC


You really need to parse HTML page by page and then fetch your data, because i dont think there is any alternative!

like image 40
user530477 Avatar answered Sep 27 '22 20:09

user530477