block pornography sites
Project description
PORN BLOCKER © 2023 - 2024
INSTALLATION
pip install blockporn
USAGE
from Blockporn import Blocker
url = "https://xxx.com"
core = Blocker()
resu = core.blocker(url)
print(resu)
#======[ ADD MORE SITES ]======
from Blockporn import Blocker
url = "https://xxx.dc"
blok = ["xxx.db", "xxx.dc"]
core = Blocker(block=blok)
resu = core.blocker(url)
print(resu)
#======[ CUSTOM BLOCK ]======
from Blockporn import Blocker
url = "https://xxx.me"
blok = ["xxx.me", "xxx.ms"]
core = Blocker(block=blok)
resu = core.blocked(url)
print(resu)
LICENSE
The MIT License. Please see License File for more information.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
blockporn-0.1.1.tar.gz
(9.3 MB
view hashes)
Built Distribution
Close
Hashes for blockporn-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2972e93936d41d08d703b742f193d5131da3444ebf0b35fe93cc448145a4aab |
|
MD5 | 9f54607097a87da6987858dc01b61716 |
|
BLAKE2b-256 | 23bc978def5106c4684586a1419943ef39534425d99857520f663310ee3287f1 |