url and string fo def add

captcha           = Antigate.wrapper('92846f7da681d95250f11170780398a3')
captcha.phrase    = 0
captcha.regsense  = 0
captcha.numeric   = 1
captcha.min_len   = 6
captcha.max_len   = 6
captcha.max_bid   = 2

token = open("http://egrul.nalog.ru/static/captcha.html").read
img   = open("http://egrul.nalog.ru/static/captcha.html?a=#{token}").read
recognized = captcha.recognize(img, 'gif')