Copy requests from the devtools network panel as python requests code
Copy as Python Requests Extension
== Usage==
With the extension installed:
1. Open the Browser Devtools.
2. Click around and generate the requests you want to export (see Network tab in Devtools).
3. Click extension icon in toolbar at the top.
4. Copy desired Python requests code from popup.
== Features ==
- Generate Python code for every request observed by the open devtools.
- Configurable filters through extension options page:
- Ignore requests to static resources by filtering response content-types.
- Ignore auto-generated HTTP headers like User-Agent and Connection.
- Optionally hide blocked requests or 404 responses for requests e.g. for missing favicon.ico.
- Optionally generate a requests.session() instance.
- Try to hide cookies set by a response from an earlier request in the session.
== Changelog ==
## 1.1.0 - 2023-01-16
### Added
- Add option to quickly disable the whole filter lists.
- Add option to render params, headers, cookies etc on separate lines.
### Changed
- Removed unneeded `host` permission. Apparently the devtools permission is enough to read the network HAR.
- Sort requests by start date if they aren't already.
### Fixed
- Fixed generating of `multipart/form-data` postData when the params aren't available in a pre-parsed form in the HAR.
- Fixed extension losing connection to devtools after some time of inactivity.
Source Manifest.json
Similar Extensions
Python Shell 3,000+ 207 ★ 8.31MiB
Selenium Auto Code Generator (Python) 3,000+ 2 ★ 924KiB
Better Network Panel 3,000+ 3 ★ 2.14MiB
py3redirect 3,000+ 13 ★ 74.53KiB
Python Assist 3,000+ 2 ★ 27.67KiB
PyConsole: Python shell uncomplicated 3,000+ 6 ★ 23.43KiB
Python Executor 3,000+ 2 ★ 15.15KiB
Your Python Editor (Beta) 3,000+ 6 ★ 1.81MiB
HTTP-TRACKER 3,000+ 33 ★ 85.4KiB
Online GitHub Python Interpreter 3,000+ 0 ★ 338KiB
Python Tutor - Wiingy 3,000+ 3 ★ 10.28KiB
Request Interceptor 3,000+ 58 ★ 1.89MiB
Visual Python for Colab 3,000+ 7 ★ 14.84MiB
Pyrun 3,000+ 4 ★ 240KiB
CodeRun 3,000+ 4 ★ 87.5KiB
Tamper Dev 3,000+ 29 ★ 532KiB
Phytonic 3,000+ 4 ★ 34.57KiB
Request Maker 3,000+ 184 ★ 138KiB
RestMan 3,000+ 38 ★ 478KiB
tweak: mock and modify HTTP requests 3,000+ 190 ★ 3.22MiB
API Trace 3,000+ 2 ★ 43.22KiB
Inssman: Open-Source: Modify HTTP Request 3,000+ 10 ★ 3.51MiB
QuickPy Python Interpreter 3,000+ 12 ★ 184KiB
Page Modeller (Selenium, Robot Framework etc) 3,000+ 5 ★ 1.12MiB
User reviews
Atnik (ID: 000000cb9c952729) Voted 5 ★ - Updated 03/29/2023