DEV Community

Discussion on: How to build website blocker in Python

Collapse
 
kalebu profile image
Jordan Kalebu

You should change hijack the script manually by changing the working hours in the block_websites function to a range which outside of your current time and then the script will think it's resting time, will go and remove the block websites in the host file.