• Stars
    star
    229
  • Rank 168,871 (Top 4 %)
  • Language
    Python
  • License
    MIT License
  • Created over 9 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Universal python API to captcha solving services

Captcha Solver Documentation

Test Status Code Quality Type Check Test Coverage Status Documentation Status

Univeral API to work with captcha solving services.

Feel free to give feedback in Telegram groups: @grablab and @grablab_ru

Installation

Run: pip install -U captcha-solver

Twocaptcha Backend Example

Service website is https://2captcha.com?from=3019071

from captcha_solver import CaptchaSolver

solver = CaptchaSolver('twocaptcha', api_key='2captcha.com API HERE')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))

Rucaptcha Backend Example

Service website is https://rucaptcha.com?from=3019071

from captcha_solver import CaptchaSolver

solver = CaptchaSolver('rucaptcha', api_key='RUCAPTCHA_KEY')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))

Browser Backend Example

from captcha_solver import CaptchaSolver

solver = CaptchaSolver('browser')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))

Antigate Backend Example

Service website is http://getcaptchasolution.com/ijykrofoxz

from captcha_solver import CaptchaSolver

solver = CaptchaSolver('antigate', api_key='ANTIGATE_KEY')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))

More Repositories

1

awesome-web-scraping

List of libraries, tools and APIs for web scraping and data processing.
Makefile
6,049
star
2

grab

Web Scraping Framework
Python
2,330
star
3

user_agent

Generator of User-Agent header
Python
317
star
4

awesome-osint

Yet another list of OSINT tools
99
star
5

awesome-pastebin

List of pastebin services
77
star
6

ru-osint-infosec-map

Graph of OSINT and InfoSec resources in Russian language
JavaScript
33
star
7

awesome-anti-captcha

Curated list of captcha solving software, libraries and API.
16
star
8

proxylist

Python library to work with proxy server items loaded from local file or network document.
Python
16
star
9

awesome-python-dev

List of tools for debugging, profiling and analyzing python programs.
12
star
10

selection

API to extract data from HTML and XML documents
Python
10
star
11

learning-web-scraping

A list of articles and books teaching web scraping
9
star
12

runscript

Simple script launcher
Python
8
star
13

lxmlbench

Simple benchmark to test CPU speed by parsing HTML with lxml
HTML
6
star
14

pyproject

Python Project Template for Cookiecutter
Makefile
6
star
15

procstat

A tool to count runtime metrics
Python
6
star
16

netbench

Testing python network libraries
Python
4
star
17

badserver

Bad Bad Server
Python
4
star
18

awesome-geoint

Tools for GEOINT
4
star
19

topsites

HTML of alexa top1k sites
HTML
4
star
20

3proxy_confgen

3proxy config generator to use upstream proxies
Python
4
star
21

unicodec

Tools to detect encoding and convert HTML bytes content to Unicode.
Python
3
star
22

mongodb_toolbox

Tools to automate mongodb read/write operations.
Python
3
star
23

test_server

Server to test HTTP clients
Python
3
star
24

iohub

Dashboard to monitor ioweb crawlers
Python
1
star
25

rucaptcha

Python library to access rucaptcha/twocaptcha API
Python
1
star
26

mongoenum

Script to enumerate sizes of mongodb databases, collections and indexes.
Python
1
star
27

ergotools

Python
1
star
28

captcha_solution

A simple interface to multiple captcha solving services
Python
1
star