1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

getting recaptcha image faster

Discussion in 'Visual Basic .NET' started by SEOboss, Dec 26, 2011.

  1. SEOboss

    SEOboss Junior Member

    Joined:
    Nov 23, 2009
    Messages:
    166
    Likes Received:
    38
    Occupation:
    IM
    Location:
    India
    Hi

    I have developed a bot to post comment on blogs using web browser
    web page gets load faster and form also get filled quickly but I need to wait to get recaptcha image,
    is there any way to get reccpatcha image faster so I can send it to decaptcher/deathbycaptcha
     
  2. healzer

    healzer Jr. Executive VIP Jr. VIP Premium Member

    Joined:
    Jun 26, 2011
    Messages:
    2,363
    Likes Received:
    1,966
    Gender:
    Male
    Occupation:
    Marketing automation tools
    Location:
    Somewhere in Europe
    Home Page:
    It takes long time for a website to load (using webbrowser).
    It will be much faster if you use httpwebrequest to get the Recaptcha image.

    But you can combina webbrowser + httpwebrequest (for image only)
     
  3. izSpK

    izSpK BANNED BANNED

    Joined:
    Sep 5, 2010
    Messages:
    1,546
    Likes Received:
    1,666
    Use HTTPWebRequests, it's way faster and better.
     
  4. SEOboss

    SEOboss Junior Member

    Joined:
    Nov 23, 2009
    Messages:
    166
    Likes Received:
    38
    Occupation:
    IM
    Location:
    India
    Hi

    Thanks for replay how can i combine webbrowser and http please explain

    Thanks
     
  5. healzer

    healzer Jr. Executive VIP Jr. VIP Premium Member

    Joined:
    Jun 26, 2011
    Messages:
    2,363
    Likes Received:
    1,966
    Gender:
    Male
    Occupation:
    Marketing automation tools
    Location:
    Somewhere in Europe
    Home Page:
    you can use any random (newly generated) recaptcha image, solve that one and get the "answer" - string
    <<<< this with httpwebrequest:

    Code:
    dim request as httpwebrequest = httpwebrequest.create("URL of website")
    request.HOST = ""
    request.referer =""
    request.headers.Add("")
    ....
    
    dim reponse as httpwebresponse = httpwebrequest.getreponse
    dim reader as new streamreader
    dim StringResponse as string = reader.ReadToEnd
    
    
    
    >>>> something like that
    you'll have to google for full code yourself
    you need to use something like: Fiddler2 to track the headers (request).
    To see what the site sends you & what you send to site. (http based code)

    the code isn't correct, but thats how it usually is, or something likely.

    The stringReponse or w/e -> thats the HTML source code.
    You need to use that to find what captcha-image is generated there ; then save that image & send it to DeathByDecaptcha or w/e you use.

    once you have that -> your captcha service will provide a string back with the answer for the captcha.

    each captcha has a unique ID -> each ID has its answer.
    these 2 must be correct.


    good luck :D