Copy requests from the devtools network panel as python requests code
Users
3,000
0 in 30 days
Rating
3.3 / 5
unchanged in 30 days
Ratings
3
0 in 30 days
Store rank
#18K
#16K among extensions
Version
1.1
updated 18 Jan 2023
Users
monthly, 3 years
Latest, 15 Oct 2026:3,000 usersMove the mouse over the chart for any month
Ratings count
monthly, 3 years
Latest, 15 Oct 2026:3 ratingsMove the mouse over the chart for any month
The Chrome Web Store rounds user counts down to the leading digit, so the user line moves in steps. The ratings count is exact and is the better signal of real adoption.
About Copy as Python Requests
WebExtension to export traffic of a tab into ready to go Python Requests calls for faster traffic mimicing.
== 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.
Growth
Window
Users
Change
Ratings
Rating
7 days
0
+0.0%
0
0.00
30 days
0
+0.0%
0
0.00
6 months
0
+0.0%
0
0.00
1 year
0
+0.0%
0
0.00
Chrome Web Store search rankings
Where Copy as Python Requests appears when people search the store, with the 30 day change