Copy as Python Requests
Copy requests from the devtools network panel as Python requests code for fast traffic mimicing.
What is Copy as Python Requests?
Copy as Python Requests is a Firefox add-on that allows you to export traffic from a tab as Python requests code. With this add-on, you can easily generate Python code for requests observed in the browser devtools, making it faster to mimic traffic. The add-on also provides configurable filters and options to hide blocked requests or 404 responses, as well as the ability to generate a requests.session() instance.
Stats
By:
Peace-Maker
Rating:
5.00
(1)
Creation date:
2022-07-26
Weekly download count:
11
Firefox on Android:
No
Risk impact:
Low risk impact
Risk likelihood:
Low risk likelihood
Manifest version:
2
Permissions:
Size:
21.87K
URLs:
Website
Stats date:
Chrome-Stats Rank
#
5968
Other platforms
Not available on Chrome
Not available on Edge
Want to check extension ranking and stats more quickly for other Firefox add-ons?
Install
Chrome-Stats extension
to view Chrome-Stats data as you browse the Firefox Browser Add-ons.
Summary
WebExtension to export traffic of a tab into ready to go Python Requests calls for faster traffic mimicing.
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.
- 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.
User reviews
not working after updating firefox
Safety
Risk impact
Copy as Python Requests is relatively safe to use as it requires very minimum permissions.
Risk likelihood
Copy as Python Requests has earned a fairly good reputation and likely can be trusted.
Upgrade to see risk analysis details