Skip to content

ganeshkavhar/Website-Blocker-App-in-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Website-Blocker-App-in-Python-

Block websites

How do we do it?

Every operating system has a hosts file. Location of the host file may be different for the different operating system. This host file is map hostname to IP address of the machine. In this host file, we going to list websites which we want to block.

image

Youtube Website Runnning without any problem

image

Now Run Program

Sorry Not Allowed... Sorry Not Allowed... Sorry Not Allowed... Sorry Not Allowed... Sorry Not Allowed... Sorry Not Allowed... Sorry Not Allowed... ….

After Block Open Youtube Website It is Block

image