Skip to main content

A set of tool for the decoding and conversion of AdBlock and Filter Lists.

Project description

A set of tools for the decoding and conversion of AdBlock and filter lists. The decoder itself is part of the PyFunceble project.

Installation

$ pip install --user adblock-decoder

Tools

adblock2hosts

A tool to convert adblock or filter lists to hosts format.

Usage

usage: adblock2hosts [-h] [--aggressive] [--ip IP] [-o OUTPUT] input_file

An AdBlock2hosts converter.

positional arguments:
    input_file            The input file to work with.

optional arguments:
    -h, --help            show this help message and exit
    --aggressive          [USE AT YOUR OWN RISK AS IT IS EXPERIMENTAL] Activates the extraction of everything regardless of the interpretation of AdBlock/UBlock.
    --ip IP               Sets the IP to use while generating the hosts file.
    -o OUTPUT, --output OUTPUT
                            The file to write to.

Crafted with ♥ by Nissar Chababy (Funilrys)!

adblock2plain

A tool to convert adblock or filter lists to plain text format.

Usage

usage: adblock2plain [-h] [--aggressive] [-o OUTPUT] input_file

An AdBlock2plain (text) converter.

positional arguments:
    input_file            The input file to work with.

optional arguments:
    -h, --help            show this help message and exit
    --aggressive          [USE AT YOUR OWN RISK AS IT IS EXPERIMENTAL] Activates the extraction of everything regardless of the interpretation of AdBlock/UBlock.
    -o OUTPUT, --output OUTPUT
                            The file to write to.

Crafted with ♥ by Nissar Chababy (Funilrys)!

License

MIT License

Copyright (c) 2020 PyFunceble
Copyright (c) 2020 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

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

adblock-decoder-1.0.2.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

adblock_decoder-1.0.2-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file adblock-decoder-1.0.2.tar.gz.

File metadata

  • Download URL: adblock-decoder-1.0.2.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for adblock-decoder-1.0.2.tar.gz
Algorithm Hash digest
SHA256 616b4316ad117985d98266df133a4273388f3c59ab2064a24aa0d46cf47d5137
MD5 19386edee9f3b960c0a1338f9946233f
BLAKE2b-256 5e1fa0c803e699cbd7dfef88e61d38685d33af40492363c713497f6926feed70

See more details on using hashes here.

File details

Details for the file adblock_decoder-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: adblock_decoder-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for adblock_decoder-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bc7a9fe9a631073d17dbed36ebd33e8c4b627c0797208c2536795f71567c0e65
MD5 5a5c99bbcfbe5c9cae66fa632b7d3ff8
BLAKE2b-256 9fc7c08fbc575b87e29412907e8b47bd80dbe3603f9c200c4035957fa9049f3c

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