Amazon Captcha Solver
Pure Python (3.6+), lightweight, Pillow-based solver for the Amazon's text captcha.
Installation
pip install amazoncaptcha
Quick Snippet
from amazoncaptcha import AmazonCaptcha
captcha = AmazonCaptcha('captcha.jpg')
solution = captcha.solve()
# Or: solution = AmazonCaptcha('captcha.jpg').solve()
Status
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)
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 15000 solved captchas) based on a demand.
Issues
- If you constantly receive 'Error' output, feel free to create an issue and describe details.
- If you received an output, different from solution itself, 'Error' or 'Not solved', please, create an issue or contact me.
- If you've somehow met an Exception, which you don't understand - you know what to do :)
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.
- Version 0.1.0:
- 100,000 captchas crash test, accuracy is 98.5%.
- Version 0.1.1:
- Code adjustments and improvements.
- Added tests.
- Version 0.1.3:
- Code adjustments and improvements.
- Added vulnerabilities tests.
- Version 0.1.4:
- Code adjustments and improvements.
- Added more tests.
Metadata
Release files for amazoncaptcha 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| amazoncaptcha-0.1.4.tar.gz | 866.2 kB | Without provenance | Details for amazoncaptcha-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| amazoncaptcha-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for amazoncaptcha-0.1.4-py3-none-any.whl |
Total release size: 1.8 MB
Release files / amazoncaptcha-0.1.4.tar.gz
| Download URL | amazoncaptcha-0.1.4.tar.gz |
|---|---|
| Size | 866.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b00878e1bd3cc1896b61fa394b771abf3b8c0d1ce4b3f64a5fba8233fdafc76
|
|
BLAKE2b-256 checksum How to use checksums |
c79c3a2c1a5e4c1542fcdb10b5ecd8d4ee80c74e0080fa56ca6400fcbc337c1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.44.0 CPython/3.7.4
|
Release files / amazoncaptcha-0.1.4-py3-none-any.whl
| Download URL | amazoncaptcha-0.1.4-py3-none-any.whl |
|---|---|
| Size | 926.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b09a3afffd9cb1bfde4e2689a98bbf41e4c796a103079100f286f220ea796cf
|
|
BLAKE2b-256 checksum How to use checksums |
7fa03fd4ded5fa1e118b22bde1d8f3d7f60afea0ad8dbbe084dbf7d771a2725a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.44.0 CPython/3.7.4
|
Security for amazoncaptcha 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.