New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

capsolver-extension-python

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capsolver-extension-python - pypi Package Compare versions

Comparing version
1.0.2
to
1.0.3
+1
-1
capsolver_extension_python.egg-info/PKG-INFO
Metadata-Version: 2.1
Name: capsolver_extension_python
Version: 1.0.2
Version: 1.0.3
Summary: Capsolver Extension Python allows you to easily integrate Capsolver Extension in web automation frameworks like Botasaurus, Selenium, and Playwright.

@@ -5,0 +5,0 @@ Home-page: https://github.com/omkarcloud/capsolver-extension-python

@@ -1,6 +0,2 @@

def perform_capsolver_file_updates(ext, api_key, app_id):
def update_js_contents(content):
def update_js_contents(content, api_key, app_id):
to_replace = "return e.defaultConfig"

@@ -13,6 +9,3 @@ app_id_str = f", appId: '{app_id}'" if app_id else ""

for file in ext.get_js_files():
file.update_contents(update_js_contents)
def update_config_contents(content):
def update_config_contents(content, api_key, app_id):
key_replaced = content.replace("apiKey: '',", f"apiKey: '{api_key}',")

@@ -28,3 +21,7 @@ # When you use the Capsolver Extension, we integrate our own app ID into the extension if you haven't provided one. This allows us to earn a small commission from each captcha you solve, at no extra cost to you.

return key_replaced
def perform_capsolver_file_updates(ext, api_key, app_id):
for file in ext.get_js_files():
file.update_contents(lambda x: update_js_contents(x, api_key, app_id))
ext.get_file("/assets/config.js").update_contents(update_config_contents)
ext.get_file("/assets/config.js").update_contents(lambda x: update_config_contents(x, api_key, app_id))
Metadata-Version: 2.1
Name: capsolver_extension_python
Version: 1.0.2
Version: 1.0.3
Summary: Capsolver Extension Python allows you to easily integrate Capsolver Extension in web automation frameworks like Botasaurus, Selenium, and Playwright.

@@ -5,0 +5,0 @@ Home-page: https://github.com/omkarcloud/capsolver-extension-python

@@ -23,3 +23,3 @@ from setuptools import setup

name="capsolver_extension_python",
version="1.0.2",
version="1.0.3",
author="Chetan Jain",

@@ -26,0 +26,0 @@ author_email="chetan@omkar.cloud",