mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-24 04:21:12 +00:00
22 lines
451 B
Markdown
22 lines
451 B
Markdown
### About
|
|
|
|
A Python3 script to block certain websites.
|
|
|
|
### Setup
|
|
|
|
* Install Python3 from [here](https://python.org).
|
|
* Open cmd/terminal
|
|
* Navigate inside the ```scripts\Website Blocker``` directory.
|
|
* Run using Python
|
|
```bash
|
|
sudo python admin.py
|
|
```
|
|
Note: Add your end time in the `admin.py` file.
|
|
|
|
Blocking:
|
|
![img.png](assets/img.png)
|
|
![img_2.png](assets/img_2.png)
|
|
|
|
Unblocking:
|
|
![img_1.png](assets/img_1.png)
|
|
![img_3.png](assets/img_3.png) |