安装
tar -zxvf mitmproxy-3.0.1-linux.tar.gz
sudo mv mitmproxy mitmdump mitmweb /usr/bin
详情
https://germey.gitbooks.io/python3webspider/1.7.2-MitmProxy%E7%9A%84%E5%AE%89%E8%A3%85.html
启动
mitmdump -p 12101 -s modify_response.py
gunicorn --access-logfile access.log --error-logfile error.log -D -b :12100 manage:app