/amazoncaptcha-api

Primary LanguagePythonMIT LicenseMIT

Description

Simple anti-captcha.com compatable API (createTask/getTaskResult) to solve the Amazon's text captcha for free.

This is simple Flask backend for amazoncaptcha. Check it first!

Installation

Use the package manager pip to install amazoncaptcha-api

pip3 install amazoncaptcha-api

or

git clone https://github.com/melehin/amazoncaptcha-api
cd amazoncaptcha-api
pip3 install .

Run

Under flask development server (bind local ip)

python3 -m amazoncaptcha_api

Under supervisor and gunicorn (bind external ip)

Put this snippet to /etc/supervisor/conf.d/amazoncaptcha_api.conf

[program:amazoncaptcha_api]
directory=/tmp/
command=gunicorn amazoncaptcha_api:app -b 0.0.0.0:5000
autostart=true
autorestart=true
stderr_logfile=/var/log/amazoncaptcha_api.err.log
stdout_logfile=/var/log/amazoncaptcha_api.out.log

And run

supervisorctl reload

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT