DelkTsai / AdblockMitmproxyPy3

使用mitm做为http代理服务器,并应用adblock规则过滤广告。use mitm as http proxy ,which can block ads by applying adblock rules 。 modified for running in python 3.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AdblockMitmproxyPy3

这是一个简单的http代理服务器,主要目的是做过滤广告!

使用mitm做为http代理服务器,并应用adblock规则过滤广告。

代码来自:https://github.com/epitron/mitm-adblock ,为了在python3下运行,稍做一下修改.

使用前先安排必要的依赖库:

pip3 install mitmproxy adblockparser

之后,在运行 ./go

在CentOS 6.5 ,python 3.5.3 测试正常.

About

使用mitm做为http代理服务器,并应用adblock规则过滤广告。use mitm as http proxy ,which can block ads by applying adblock rules 。 modified for running in python 3.

License:MIT License


Languages

Language:Python 96.1%Language:Shell 3.9%