Copy as Python Requests

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

Users: 317
-2
Rating: 5.00
(1)
Version: 1.1 (Last updated: 2023-01-16)
Creation date: 2022-07-26
Weekly download count: 4
Firefox on Android: No
Risk impact: Low risk impact
Risk likelihood:
Manifest version: 2
Permissions:
  • storage
Size: 21.87K
URLs: Website

Other platforms

Copy as Python Requests (v1.1)
3.00 (2) 3,000
Copy Text On Image (v1.8)
3.66 (766) 376,702
Not available on Edge
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:

  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.

User reviews

not working after updating firefox
View all user reviews

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