Metadata-Version: 2.4
Name: nopecha-extension
Version: 0.0.2
Summary: Automated CAPTCHA solver for your browser USING THE EXTENSION. Works with Selenium, Puppeteer, Playwright, and more.
Author: 4EYES
Author-email: 4EYES <erererer1967@gmail.com>
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: chrome_extension_python>=1.0.0
Dynamic: author
Dynamic: requires-python

  
  

# Nopecha Extension Python

  

  

A Python utility for patching a locally downloaded **Nopecha Chrome Extension** by automatically injecting your API key into all required JavaScript, HTML, and config files.

  

  

This package is built on top of `chrome_extension_python` and allows you to

  

- Load your own downloaded Chrome extension folder

  

- Inject your API key into all related files

  

- Patch `.js`, `.html`, and `manifest.json`

  

- Prepare the extension for Selenium, Botasaurus, or manual Chrome loading

  
  

### Here is the link to Download The Extension : [NopeCHA_Extension](https://developers.nopecha.com/guides/extension_advanced/#automation-build)


---


## Note . You Should Download The chromium_automation.zip

  
Here You Can Find The Package In [PyPi](https://pypi.org/project/nopecha-extension/)
  


  

  

## ✨ Features

  

  

-  This package allows the use of Chrome extensions in Botasaurus, Selenium, and Playwright frameworks.

  

- 🔐 Just Modify Your "mainfest.json" File

  

- 🔍 Detects placeholders like:

  

  - `apiKey: ''`

  

  - `api_key: ""`

  

  - `NOPECHA_API_KEY`

  
  

- 🛠 Updates manifest.json (permissions, storage, etc.)  

  

- ⚡ Easy integration with Selenium, Botasaurus, or Chrome

  

  

---

  

  

## 📦 Installation

  

  install packages using pip:

  

  

```bash

  

pip install chrome_extension_python

  

pip install nopecha-extension

  

````

  

---

  

## 🚀 Usage Example

  

```

  
  

from nopecha_extension import Nopecha

  

from botasaurus.browser import browser, Driver

  

  

API_KEY = "YOUR_NOPECHA_KEY"

  

EXT_PATH = r"C:/path/to/your/nopecha_extension_folder" # here you can edit your "mainfest.json" as you want

  

  

# Initialize patcher

  

ext = Nopecha(api_key=API_KEY)

  

ext.extension_path = EXT_PATH

  

  

@browser(

  

  

    extensions=[ext],

  

  

    )

  


```

