I new in mitmproxy. But I can't figure out how to used that in python script. I want to put mitmproxy into my python script just like a library and also specific everything like port or host and do some modify with Request or Response in my python script. So when I start my script like this python sample.py Everything will run automatic without run mitmproxy from commandline like this mitmproxy -s sample.py Thanks for reading. Continue reading...