This is a simple example of how to capture HTTPS request traffic from Python using the Proxyman tool.
- Proxyman macOS app installed. Download from here.
- Python 3.12 or later installed.
- Make sure you have the required packages installed:
pip install requests httpx
- Run the Proxyman app -> Setup menu -> Automatic Setup… -> Click on "Open new Terminal" button.
- On the new Terminal -> Run the Python script:
python main.py
- On the Proxyman app, Proxyman will automatically capture the HTTPS request traffic from the Python script.
- Done!