Copy as Python Requests

Copy requests from the devtools network panel as python requests code

ما هو Copy as Python Requests؟

Copy as Python Requests هو إضافة Chrome تم تطويرها بواسطة Peace-Maker، والميزة الرئيسية لها هي "Copy requests from the devtools network panel as python requests code".

لقطات شاشة التمديد

screenshot

تحميل ملف CRX للإضافة Copy as Python Requests

قم بتنزيل ملفات الامتداد Copy as Python Requests بتنسيق crx ، وقم بتثبيت الامتدادات يدويًا في متصفح Chrome ، أو شارك ملفات crx مع الأصدقاء لتثبيت الامتدادات بسهولة.

تعليمات استخدام التمديد

                        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.                    

معلومات أساسية عن التمديد

الاسم Copy as Python Requests Copy as Python Requests
ID dpmidpbjjakkboiogkpjcfmafjljenhe
عنوان URL الرسمي https://chromewebstore.google.com/detail/copy-as-python-requests/dpmidpbjjakkboiogkpjcfmafjljenhe
الوصف Copy requests from the devtools network panel as python requests code
حجم الملف 23.94 KB
عدد التثبيتات 2,396
النسخة الحالية 1.1
آخر تحديث 2023-01-18
تاريخ النشر 2022-07-27
تقييم 5.00/5 مجموع تقييمات 2
المطور Peace-Maker
البريد الإلكتروني [email protected]
نوع الدفع free
موقع الإضافة https://github.com/peace-maker/copy-as-python-requests
اللغات المدعومة en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Copy as Python Requests",
    "description": "Copy requests from the devtools network panel as python requests code",
    "version": "1.1",
    "author": "Jannik Hartung",
    "manifest_version": 3,
    "icons": {
        "16": "icons\/logo-16.png",
        "32": "icons\/logo-32.png",
        "48": "icons\/logo-48.png",
        "96": "icons\/logo-96.png",
        "128": "icons\/logo-128.png"
    },
    "minimum_chrome_version": "88.0",
    "devtools_page": "devtools.html",
    "options_ui": {
        "browser_style": true,
        "open_in_tab": true,
        "page": "options.html"
    },
    "background": {
        "service_worker": "background.js"
    },
    "permissions": [
        "storage"
    ],
    "action": {
        "browser_style": true,
        "default_title": "Copy as Python Requests",
        "default_popup": "popup.html"
    }
}