Solving captchas never ends...
Project description
Amazon Captcha Solver
Pure Python, non-OCR, lightweight, Pillow-based solver for the Amazon image captcha.
Installation
pip install amazoncaptcha
Quick Snippet
from amazoncaptcha import AmazonCaptcha
solution = AmazonCaptcha('captcha.jpg').solve()
Popular Usage
from amazoncaptcha import AmazonCaptcha
from selenium import webdriver
driver = webdriver.Chrome()
driver.get('https://www.amazon.com/errors/validateCaptcha')
captcha = AmazonCaptcha.from_webdriver(driver) # Just make sure zoom level is standard
solution = captcha.solve()
For Whom?
- Data extraction and web scraping specialists could use this tool, obviously, to bypass the Amazon captcha.
- Machine learning developers could use captchas folder (currently contains 12000 solved captchas) based on a demand.
Contribution
- If you checked the code and you know the way or have any ideas, how to make it better, feel free to fork-n-pull or contact me. Thank you!
- If you want to help with current problems, please check this file.
Changes
- Version 0.0.10:
- Reached 10000 training samples.
- Reached 90%+ accuracy.
- Version 0.0.11:
- Fixed error with captcha images that were taken from BytesIO.
- Version 0.0.12:
- Code adjustments and improvements.
- Program can now solve images where last letter is corrupted.
- Version 0.0.13:
- Added and tested 'from_webdriver' classmethod.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
amazoncaptcha-0.0.13.tar.gz
(764.7 kB
view hashes)
Built Distribution
amazoncaptcha-0.0.13-py3-none-any.whl
(818.8 kB
view hashes)
Close
Hashes for amazoncaptcha-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 226f0ffe9a6458a6447ca49215ad20cc721c3c29acc65a0b87f6cdaec7ab940b |
|
MD5 | 53189ea94c787ad88d08607074946c26 |
|
BLAKE2b-256 | 69138e788803e04afb6a4e43d20d15408f05f4bc858530465c533c1b0df631a0 |