mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-31 07:18:58 +00:00
5327756377
- Fix some loading sequence bugs affecting command-line script invocation - Allow addons to over-ride existing options (with a warning). We need this for reloading. - Convert har_dump to new-style arguments, fix and re-instate its test suite. - Covnert miscelaneous other exmples to new-style args. |
||
---|---|---|
.. | ||
complex | ||
pathod | ||
simple | ||
README.md |
Mitmproxy Scripting API
Mitmproxy has a powerful scripting API that allows you to control almost any aspect of traffic being proxied. In fact, much of mitmproxy’s own core functionality is implemented using the exact same API exposed to scripters (see mitmproxy/addons).
This directory contains some examples of the scripting API. We recommend to start with the ones in simple/.
⚠️ | If you are browsing this on GitHub, make sure to select the git tag matching your mitmproxy version. |
---|
Some inline scripts may require additional dependencies, which can be installed using
pip install mitmproxy[examples]
.