How can I retrieve my Google search history?

北慕城南 提交于 2019-11-29 06:59:38

There's an RSS feed.

Update: the link is now broken.

The RSS feed in the accepted answer above does not exist anymore. Google does not provide an API that allows you retrieve Google searches, but it does allow you to download an archive of all past searches, via google search history. This download cannot be performed programmatically, as it saves the archive to the user's google drive.

A possible hacky workaround is using browser automation tools to scrape the history page, like this repository does. Modifying this script would allow you to get the most recent searches. I was able to use this for my project.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!