In this article, you will learn to write a Python program which will take input from the user as a keyword like Facebook, amazon, geeksforgeeks, Flipkart, youtube, etc. and then search your google chrome browser history for that keyword and if the keyword is found in any of the URL then it will delete it. For example, suppose you have entered the keyword ‘geeksforgeeks’, so it will search your google chrome history, like ‘www.geekforgeeks.org’, it’s very obvious that this URL contains the keyword ‘geeksforgeeks’, then it will delete it, it will also search for articles (like “Is geeksforgeeks a good portal to prepare for competitive programming interview?”) containing ‘geeksforgeeks’ in their title and delete it. First of all, get the location in your system where the google chrome history file is located.
Note: Google chrome history file location in windows generally is: C:\Users\manishkc\AppData\Local\Google\Chrome\User Data\Default\History.
- Get Browser History using Python in Ubuntu
- Python | Launch a Web Browser using webbrowser module
- Browser Automation Using Selenium
- Python | Get a google map image of specified location using Google Static Maps API
- How to Delete files in Python using send2trash module?
- Python Program to delete a file
- Speech Recognition in Python using Google Speech API
- Performing Google Search using Python code
- Python | Plotting Google Map using gmplot package
- Python | Plotting Google Map using folium package
- Python | Plotting Data on Google Map using pygmaps package
- How to download Google Images using Python
- Python | Automate Google Search using Selenium
- Uploading files on Google Drive using Python
- Language Translator Using Google API in Python
- How to make a Google Translation API using Python?
- Audio processing using Pydub and Google speechRecognition API
- Outline specific area on Google Map using GeoJson
- Plotting ICMR approved test centers on Google Maps using folium package
- Python script to open a Google Map location on clipboard
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.