Skip to main content

block pornography sites

Project description

PORN BLOCKER © 2023 - 2024

telegram badge telegram badge telegram badge

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)

Uploaded Source

Built Distribution

blockporn-0.1.1-py3-none-any.whl (9.4 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page