/website-blocker

A python script to block websites for a certain time in a day

Primary LanguagePython

website-blocker

A python script to block websites for a certain time in a day. Add the websites you want to block in the website_list list. Edit the time interval in the web_list.py file.

Run this script in windows/mac/ubuntu as admin (use sudo in linux/mac).

To make make the script run automatically in your machine in linux/mac : In the command line type sudo contrab -e and add @reboot python3 /YOUR_DIRECTORY

For windows, edit the host_temp from host_path['linux'] to host_path['windows']