一套用于解码和转换AdBlock和Filter列表的工具。
adblock-decoder的Python项目详细描述
一组用于解码和转换AdBlock和filter列表的工具。 解码器本身是PyFunceble项目的一部分。在
安装
$ pip install --user adblock-decoder
工具
adblock2hosts
将adblock或filter列表转换为主机格式的工具。在
用法
^{pr2}$adblock2plain
将广告块或过滤器列表转换为纯文本格式的工具。在
用法
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)!
许可证
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.
- 项目
标签: