For example, like
from mitmproxy import mitmproxy_main
if __name__ == "__main__":
mitmproxy_main(parameters...)
Is there anyway to do so?
For example, like
from mitmproxy import mitmproxy_main
if __name__ == "__main__":
mitmproxy_main(parameters...)
Is there anyway to do so?
You were almost there.
from mitmproxy import main
if __name__ == "__main__":
main.mitmproxy(args="--no-mouse")