Skip to content
okcoder1 edited this page Oct 5, 2025 · 4 revisions

web_block

Welcome to the web_block wiki!

This is a simple Python module to block websites.

Usage

Block

import web_block
web_block.block("example.org example.com") # Use spaces to separate websites.

Unblock

import web_block
web_block.block("https://example.org/ http://www.example.com/abcd.html/") # You can also use `https://www.example.com/abcd.html` and it will automatically get the domain for you.

Welcome to the web_block wiki!

Clone this wiki locally