A Blog About Anime, Code, and Pr0 H4x

Decaptcher API Python Module

October 13, 2011 at 12:00 PM

Decaptcher is a website that offers automated CAPTCHA image solving for the price of a fraction of a penny per image. They offer round the clock CAPTCHA solving, which they claim is all done by humans over on their end, which leads me to believe that there is some massive sweatshop somewhere in India wherein there are several hundred small children being forced to solve CAPTCHAs all day. Oh well, it makes for a great tool for writing bots.

Decaptcher doesn't have an official Python API, so I cooked up my very own based off of their terrible documentation, enjoy!

Usage Example

import decaptcher
          d = decaptcher("username", "password")
          print "You have $%.2f left on your Decaptcher balance." % d.get_balance()
          print "CAPTCHA image answer is: %s" % d.solve_image(path_to_image_file)

This module requires Requests

Download: decaptcher.py

Go to Page