CAPTCHAFORUM
Administrator
bestcaptchasolver-ruby is a super easy to use bypass captcha nodeJS API wrapper for bestcaptchasolver.com captcha service
Installation
Usage
Set access token, and initiate a new Bestcaptchasolver class instance
Get balance
Submit image captcha
The submission of image captcha is done by sending us the image as a b64 encoded string. Optional parameters such as
Method returns an ID which is then used to get the text after captcha was solved by our workers
Submit reCAPTCHA
The
Just like the image submission method, this method also returns an ID, which is then used to get the gresponse
Documentation https://githubmemory.com/repo/bestcaptchasolver/bestcaptchasolver-ruby
Installation
git clone https://github.com/bestcaptchasolver/bestcaptchasolver-ruby
Usage
Set access token, and initiate a new Bestcaptchasolver class instance
load "lib/bestcaptchasolver.rb"
bcs = Bestcaptchasolver.new(access_token)
Get balance
balance = bcs.account_balance
Submit image captcha
The submission of image captcha is done by sending us the image as a b64 encoded string. Optional parameters such as
is_case
and is_math
are also available
Code:
d =
{
'b64image': 'iVBORw0KGgoAAAANSUhEUgAAASkAAACqCAMAAADGFElyAAAAgVBMVEX///8AAAD8/Pze3t5cXFzz8/Pp6emZmZlKSkqysrKoqKhtbW0zMzOenp69vb3h4eHU1NTMzMyNjY11dXVmZmbY2NgrKyvf398TExOtra2Tk5MpKSnPz893d3eEhIT39/dPT09EREQ6OjrDw8MgICA/Pz8cHBxXV1c2NjZ+fn4NDQ3FRJmkAAAJoElEQVR4nO2c65qiuhKGiRwEFAQEW2wVFW0P93+BO+RkAgnS80xjr9n1/pjWECB8VCqVShzLAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAtefTuFvxXQM67W/DrQVcrRAiRzxf8AcWGigkKxmvVr8G1K2tB8NDB22B9PA8X7674U+gtFp0TcFmMosWEfZ3YXlPkjdrotxCj1EIqOTlAP391TjjQA1yaCu2tHUKnEZv8JmK0Dx6qUn4ZYujnM/4s20sRXuiBaUiJkBNg8eZlGHkW/l60b1BF5AputO1pRR3hen0VfgE1ekktVQ976hWNHYbtG0xwYYo7Lcp6WnFHltt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eTJWSIPOqM/t0R652WHpWLcRaJCw/1Qmn4+VOWV1+ViCZvGuSGhN1Yj7kj6/UYWD9/jXkJT/y7IT7rhASeqVeBpZCqcv4SvVtV5XpX5sh8aezybJYZN47u/okInEQoY00RLxwQ17G0tZ5Fow3oeF+6ttKaW1KM3b3KSVv2JbXal7YlDH6/VHcxR8plVdaF+LyvRg3sfFAKKWpLm+hlZWqqt4l4o+3KMXmfauhv1NjShl3mvFHEBU2dCn9c63ZxedIm9Bq5fCMHrF176NiAcZ6Pn+Mr9Tg6ovvKsVWobdSqkBTvds9zZbI6/eFET9Btc/RbB+nr2s2xEF2/Z5SBV2FTi3dFG3ySqlHHVOaqIN+rju3GI26+dWa7oVrwP6M7og1Vmi/cBYl6KPal0oJsm7R2EpVy6h2rXrg78XqxFqkPtp2fpkmKrBdnrc7s1Lm0fOlLp4artRxf9+3flo3tlIuur+upHLoc2tiYGLrM72R53ClNIz+Y+nJt7P2L86IkC1tpZsY5330UvhiN61SMzlJ3CKkJ/7XCVYLa7V/fneO6NP3T55hRHddIuXppj45vgJR6nzo7NLW/NjyH2FC/bFh0GDZYY2jJOnYu5V1lfpX/z+Himw7nhoMod5MMRtNIiNtjsRWHYnNpsiJSOVf/nvl93H7543pbzH/tJMksddDE7P/v7AtxMi4bRcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOBv8T/b92zy9H0HcAAAAABJRU5ErkJggg==',
# 'is_case': true, # is case sensitive, defaults: false, optional
# 'is_phrase': true, # has at least one space, defaults: false, optional
# 'is_math': true, # math captcha calculation, defaults: false, optional
# 'alphanumeric': 1, # 1 - digits only, 2 - letters only, optional
# 'minlength': 2, # minimum text length, optional
# 'maxlength': 5, # maximum text length, optional
# 'affiliate_id': 'ID of affiliate' # optional
}
id = bcs.submit_captcha d
Method returns an ID which is then used to get the text after captcha was solved by our workers
Submit reCAPTCHA
The
page_url
and site_key
are the only requirements. There are other optional parameters though.
Code:
d = {}
d['page_url'] = 'bestcaptchasolver.com'
d['site_key'] = '6LfGJmcUAAAAALGtIb_FxC0LXm_GwOLyJAfbbUCN'
# reCAPTCHA type(s) - optional, defaults to 1
# 1 - v2
# 2 - invisible
# 3 - v3
# 4 - enterprise v2
# 5 - enterprise v3
# d['type'] = 1
# d['v3_min_score'] = 0.3 # min score to target when solving v3 - optional
# d['v3_action'] = 'homepage' # action to use when solving v3 - optional
# d['data_s'] = 'recaptcha data-s parameter used in loading reCAPTCHA' # - optional
# d['cookie_input'] = 'a=b;c=d' # used in solving of reCAPTCHA - optional
# d['proxy'] = '126.45.34.53:123' # - HTTP proxy - optional
# d['user_agent'] = 'Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0' # optional
# d['affiliate_id'] = 'ID of affiliate' # optional
id = bcs.submit_recaptcha d
Just like the image submission method, this method also returns an ID, which is then used to get the gresponse
Documentation https://githubmemory.com/repo/bestcaptchasolver/bestcaptchasolver-ruby