Name | selenium-2captcha-solver JSON |
Version |
0.1.1
JSON |
| download |
home_page | |
Summary | |
upload_time | 2023-06-15 12:27:44 |
maintainer | |
docs_url | None |
author | Your Name |
requires_python | >3.8 |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Selenium 2CAPTCHA solver
# Usage
```python
from selenium_2captcha_solver import solve_recaptchav2
from twocaptcha import TwoCaptcha
from selenium import webdriver
from selenium.webdriver.common.by import By
# Create TwoCaptcha instance
two_captcha = TwoCaptcha(apiKey="2CAPTCHA_API_KEY")
# Create selenium driver instance and open page with captch you need to solve
driver = webdriver.Chrome()
driver.get("https://www.google.com/recaptcha/api2/demo")
# Find recaptcha element
recaptcha_element = driver.find_element(By.CLASS_NAME, 'g-recaptcha')
# Call the solve_recaptchav2
solve_recaptchav2(two_captcha, driver, recaptcha_element)
# And submit your form or anything else
driver.find_element(By.ID, "recaptcha-demo-submit").click()
```
Raw data
{
"_id": null,
"home_page": "",
"name": "selenium-2captcha-solver",
"maintainer": "",
"docs_url": null,
"requires_python": ">3.8",
"maintainer_email": "",
"keywords": "",
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/7b/ae/263bb11ee4f4f68d10cbd8861e028320c80a51560c924e958bec43bdee62/selenium_2captcha_solver-0.1.1.tar.gz",
"platform": null,
"description": "# Selenium 2CAPTCHA solver\n\n# Usage\n```python\nfrom selenium_2captcha_solver import solve_recaptchav2\nfrom twocaptcha import TwoCaptcha\nfrom selenium import webdriver\nfrom selenium.webdriver.common.by import By\n\n# Create TwoCaptcha instance\ntwo_captcha = TwoCaptcha(apiKey=\"2CAPTCHA_API_KEY\")\n\n# Create selenium driver instance and open page with captch you need to solve\ndriver = webdriver.Chrome()\ndriver.get(\"https://www.google.com/recaptcha/api2/demo\")\n\n# Find recaptcha element\nrecaptcha_element = driver.find_element(By.CLASS_NAME, 'g-recaptcha')\n\n# Call the solve_recaptchav2\nsolve_recaptchav2(two_captcha, driver, recaptcha_element)\n\n# And submit your form or anything else\ndriver.find_element(By.ID, \"recaptcha-demo-submit\").click()\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "",
"version": "0.1.1",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "176d3d91750dc7c412c6e4910432a2960a1e7d1e5cbceb28806490923d56a87a",
"md5": "f89ee4d2aac48e2e3286cefedd2194f3",
"sha256": "47ac0f64a0dfe4b9e7e15af3f3082f281eecd99c22857a9a14027808b1a88241"
},
"downloads": -1,
"filename": "selenium_2captcha_solver-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f89ee4d2aac48e2e3286cefedd2194f3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">3.8",
"size": 3149,
"upload_time": "2023-06-15T12:27:43",
"upload_time_iso_8601": "2023-06-15T12:27:43.384934Z",
"url": "https://files.pythonhosted.org/packages/17/6d/3d91750dc7c412c6e4910432a2960a1e7d1e5cbceb28806490923d56a87a/selenium_2captcha_solver-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7bae263bb11ee4f4f68d10cbd8861e028320c80a51560c924e958bec43bdee62",
"md5": "c6848e7747912d0386d8a042a63ac9be",
"sha256": "8b4e828e4c52bbcf87945286db16b389b39fcc2aaa0dfc285219f9e55a8a51e4"
},
"downloads": -1,
"filename": "selenium_2captcha_solver-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "c6848e7747912d0386d8a042a63ac9be",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">3.8",
"size": 2740,
"upload_time": "2023-06-15T12:27:44",
"upload_time_iso_8601": "2023-06-15T12:27:44.968585Z",
"url": "https://files.pythonhosted.org/packages/7b/ae/263bb11ee4f4f68d10cbd8861e028320c80a51560c924e958bec43bdee62/selenium_2captcha_solver-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-15 12:27:44",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "selenium-2captcha-solver"
}