Copy as Python Requests Copy as Python Requests

Developer Tools
Version: 1.1
Last Update: 2023-01-17

Overview

Copy as Python Requests is a Chrome extension developed by Peace-Maker. According to the data from Chrome web store, current version of Copy as Python Requests is 1.1, updated on 2023-01-17.
1,000+ users have installed this extension. 1 users have rated this extension with an average rating of .

Copy requests from the devtools network panel as python requests code

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.

Rating

1 ratings

Total Installs

1,000+

Information

Last Update

2023-01-17

Current Version

1.1

Size

23.94KiB

Author

Peace-Maker

Website

None

Category

Developer Tools

Latest Reviews

See More

avatar Atnik
2023-03-29

Very handy

avatar Atnik
2023-03-29

Very handy

avatar Atnik
2023-03-29

Very handy

avatar Atnik
2023-03-29

Very handy

avatar Atnik
2023-03-29

Very handy