Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 661 Bytes

File metadata and controls

17 lines (13 loc) · 661 Bytes

Description

This is real world program which blocks certain distracting website like Facebook, Youtube etc during your work hours. About the program : What we are going to in this program is that we will pass the link of websites which you think is distracting and the time that you are working on your computer and program will block those website.

Program Architecture: Every system have host file whether it is Mac, Windows or Linux.

  1. for mac: Host file in Mac and Linux : "/etc/hosts"\
  2. for windows:- C:\Windows\System32\drivers\etc\hosts

Usage

Insert working hours, and blacklisted websties in the script. The run:

python web_blocker.py