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, andmanifest.json -
Prepare the extension for Selenium, Botasaurus, or manual Chrome loading
Here is the link to Download The Extension : NopeCHA_Extension
Here You Can Find The Package In PyPi
-
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
install packages using pip:
pip install chrome_extension_python
pip install nopecha-extension
from nopecha_extension import Nopecha
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
# Your Browser Lib (eg.selenuim , pupteer , playwright)