Skip to content

ProCap is a captcha solving service that handle help you to bypass various type of captchas

Notifications You must be signed in to change notification settings

procapwtf/ProCap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProCap

ProCap is a captcha solving service that handle help you to bypass various type of captchas

Installation

pip install procap

⚠️ Requirements

  • Apikey : Join ProCap, to get api key

💡 Examples

  • 1 - Example (hCaptcha Solve)
from ProCap import ProCap
apikey = "" # Api key (required)
url = "" # Link to captcha (required)
sitekey = "" # Sitekey (required)
proxy = "" # Proxy (optional)
userAgent = "" # User agent (optional)
rqdata = "" # RQData (optional)
solver = ProCap(apikey)
captchaToken = solver.solve(url=url, sitekey=sitekey, proxy=proxy, userAgent=userAgent, rqdata=rqdata, type="hCaptchaTask")
print(f"Captcha token : {captchaToken}")
  • 2 - Example 2 (Create task for hCaptcha)
from ProCap import ProCap
apikey = "" # Api key (required)
url = "" # Link to captcha (required)
sitekey = "" # Sitekey (required)
proxy = "" # Proxy (optional)
userAgent = "" # User agent (optional)
rqdata = "" # RQData (optional)
solver = ProCap(apikey)
captchaTask = solver.createTask(url=url, sitekey=sitekey, proxy=proxy, userAgent=userAgent, rqdata=rqdata, type="hCaptchaTask")
captchaTask.id # Task id
captchaTask.time # Time taken
captchaTask.message # Message
captchaTask.success # Success [True or False]
captchaTask.token # Captcha Token (if solved)
captchaTask.challengeKey # Captcha challenge key
captchaTask.response # Get api json response
  • 3 - Example (Get Task Result)
from ProCap import ProCap
apikey = "" # Your api key
solver = ProCap(apikey)
id = "Challenge ID" 
captchaTask = solver.checkTask(id)
captchaTask.id # Task id
captchaTask.time # Time taken
captchaTask.message # Message
captchaTask.success # Success [True or False]
captchaTask.token # Captcha Token (if solved)
captchaTask.challengeKey # Captcha challenge key
captchaTask.response # Get api json response
  • 4 - Example (Get account information)
from ProCap import ProCap
apikey = "" # Api key (required)
solver = ProCap(apikey)
user = solver.get_balance()
user.balance # Get user balance
user.daily_limit # Get user daily limit
user.next_reset # Get user next credits reset
user.daily_used # Get user daily used
user.daily_remaining # Get user daily remaining
user.plan_expire # Get user plan expiration
user.response # Get api json response

Releases

No releases published

Packages

No packages published

Languages