A simple program which does not allow us to use websites that causes distraction such as: Facebook,Instagram.
You can add more websites as per your wish.
The timer is set between 8:00 am to 4:00 pm
Remove the comment hosts_temp= r"c:\Windows\System32\drivers\etc\hosts" if you want to make it work in windows and
apply it on hosts_temp="/etc/hosts"
Use sudo python3 daily_blocker.py on ubuntu terminal.
For windows use command prompt in administrative mode.