Copy as Python Requests by Peace-Maker
Copy requests from the devtools network panel as Python requests code for fast traffic mimicing.
You'll need Firefox to use this extension
Extension Metadata
About this extension
WebExtension to export traffic of a tab into ready to go Python Requests calls for faster traffic mimicing.
Usage
With the extension installed:
Features
Usage
With the extension installed:
- Open the Browser Devtools.
- Click around and generate the requests you want to export (see Network tab in Devtools).
- Click extension icon in toolbar at the top.
- 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
andConnection
.
- 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.
Rate your experience
PermissionsLearn more
This add-on needs to:
- Extend developer tools to access your data in open tabs
More information
- Add-on Links
- Version
- 1.1
- Size
- 21.36 KB
- Last updated
- 2 years ago (Jan 16, 2023)
- Related Categories
- License
- GNU General Public License v3.0 only
- Version History
Add to collection
Release notes for 1.1
## [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.
### 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.
More extensions by Peace-Maker
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet