Copy requests from the devtools network panel as Python requests code for fast traffic mimicing.
Copy as Python Requests - Firefox Add-on
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.
Add-on stats
Weekly download count: 4
Firefox on Android: No
Risk impact: Low risk impact
Risk likelihood:
Manifest version: 2
Permissions:
Size: 21.87K
URLs: Website
Ranking
# 5,794
Want to check extension ranking and stats more quickly for other Firefox add-ons?
Install
Chrome-Stats extension
to view Firefox-Stats data as you browse the Firefox Browser Add-ons.
Add-on 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
Add-on safety
Risk impact
Copy as Python Requests 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