Skip to main content

block pornography sites

Project description

📦 BLOCK PORN

telegram badge telegram badge telegram badge

INSTALLATION

  pip install blockporn

USAGE

from Blockporn import Blocker

url = "https://xxx.com"

resu = Blocker().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)
#======[ LOAD FILE ]======

from Blockporn import LoadeR
from Blockporn import Blocker

path = "./Home/blocked.txt"

urls = LoadeR.loadfile(path)

url = "https://xxx.com"

core = Blocker(block=urls)

resu = core.blocker(url)

print(resu)

11M+ Domains blocked.txt file

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.6.tar.gz (9.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blockporn-0.1.6-py3-none-any.whl (9.4 MB view details)

Uploaded Python 3

File details

Details for the file blockporn-0.1.6.tar.gz.

File metadata

  • Download URL: blockporn-0.1.6.tar.gz
  • Upload date:
  • Size: 9.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for blockporn-0.1.6.tar.gz
Algorithm Hash digest
SHA256 957307aa98840671f557e26aa809018c997055560b9936c8a3f1d01a26b5398b
MD5 accc94c5aec5113d8b5ac1c2f0cfd4e6
BLAKE2b-256 ce7682c20b5fe189d5598f9f6ce8fdab3104e6903fc736d313bedc5da268d96d

See more details on using hashes here.

File details

Details for the file blockporn-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: blockporn-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 9.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for blockporn-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 bba7fc6cfd985472af6f1825aee406b357234daa680337f1b6ac31e2b51d3711
MD5 8331eecef6d9ad7f78471d4faf74235f
BLAKE2b-256 0fbfebb20b4b222579e3826b648475e939892933368534fa38a8669c433f4218

See more details on using hashes here.

Supported by

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