Skip to content

JugglerLKR/mitmproxy-adblock

 
 

Repository files navigation

mitmproxy-adblock

ci documentation pypi version gitter

Ad blocker for mitmproxy using popular AdBlockPlus blocklists. Inspired by mitm-adblock. Created because pi-hole does not work for YouTube ads.

Requirements

mitmproxy-adblock requires Python 3.8 or above.

To install Python 3.8, I recommend using pyenv.
# install pyenv
git clone https://github.com/pyenv/pyenv ~/.pyenv

# setup pyenv (you should also put these three lines in .bashrc or similar)
export PATH="${HOME}/.pyenv/bin:${PATH}"
export PYENV_ROOT="${HOME}/.pyenv"
eval "$(pyenv init -)"

# install Python 3.8
pyenv install 3.8.6

# make it available globally
pyenv global system 3.8.6

Installation

With pip:

python3.8 -m pip install mitmproxy-adblock

About

Ad blocker for mitmproxy

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 85.2%
  • Shell 10.1%
  • Makefile 4.7%