Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bhattbhavesh91/delete-chrome-history
Delete specific websites from Google Chrome using Python
https://github.com/bhattbhavesh91/delete-chrome-history
google-chrome google-chrome-history history python
Last synced: about 1 month ago
JSON representation
Delete specific websites from Google Chrome using Python
- Host: GitHub
- URL: https://github.com/bhattbhavesh91/delete-chrome-history
- Owner: bhattbhavesh91
- License: gpl-3.0
- Created: 2019-11-18T12:46:38.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-09T03:19:53.000Z (about 3 years ago)
- Last Synced: 2024-09-30T17:20:15.711Z (about 1 month ago)
- Topics: google-chrome, google-chrome-history, history, python
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 10
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Deleting specific websites from Google Chrome
**If you like my work, you can support me by buying me a coffee by clicking the link below**
## Introduction
Google Chrome doesn't give you an option of deleting specific websites from the history. In order to delete a specific website, I created a simple package.## Installation
To install the package, use pip:
pip is a Python Package Manager and it manages the Python modules.```python
pip install delete-chrome-history-py
```
---## Usage
```python
# Import the necessary modules
from os.path import expanduser
from chrome_delete import delete_history# Provide the full Chrome DB Location
home = expanduser("~")
chrome_db = ".config/google-chrome/Default/History"
full_db_location = home + chrome_db# Provide the website you want to delete
website_to_be_deleted = "github"# Call the function
delete_history(full_db_location, website_to_be_deleted)```
Show your support by starring the repository 🙂