Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
Copy as Python Requests 预览

Copy as Python Requests 作者: Peace-Maker

Copy requests from the devtools network panel as Python requests code for fast traffic mimicing.

5 (1 reviews)5 (1 reviews)
287 个用户287 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
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.
评分 5(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
1
4
0
3
0
2
0
1
0
阅读全部 1 条评价
权限与数据详细了解

必要权限:

  • 让开发者工具可以存取您打开的标签页中的数据
更多信息
附加组件链接
  • 用户支持网站
版本
1.1
大小
21.36 KB
上次更新
3 年前 (2023年1月16日)
相关分类
  • 网页开发
许可证
仅 GNU 通用公共许可证 v3.0
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
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.
Peace-Maker 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。