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

Craigslist Captcha not loading when using a bot

Discussion in 'PHP & Perl' started by xpro, Jul 20, 2009.

  1. xpro

    xpro Regular Member

    Joined:
    Jan 21, 2009
    Messages:
    416
    Likes Received:
    16
    I'm using Perl's module Mechanize to save craigslist's captcha, but the captcha does not load when I'm using Mechanize, Any ideas why this happening?


    Regards
     
  2. xpro

    xpro Regular Member

    Joined:
    Jan 21, 2009
    Messages:
    416
    Likes Received:
    16
    Is this because it does not support javascript? would this be possible with php Curl?
     
  3. mrxtc89117

    mrxtc89117 Junior Member

    Joined:
    Apr 23, 2008
    Messages:
    150
    Likes Received:
    15
    www::mechanize does not support javascript. you have to fool it by loading the script manually with another call ( this is the iframe), decoding what it means etc.
     
  4. xpro

    xpro Regular Member

    Joined:
    Jan 21, 2009
    Messages:
    416
    Likes Received:
    16
    Is there any examples that you can share? I don't understand how the image will get to my perl program if it loads in my browser with iframe.
     
  5. mrxtc89117

    mrxtc89117 Junior Member

    Joined:
    Apr 23, 2008
    Messages:
    150
    Likes Received:
    15
    Just use separate calls for each you need to load. its not that hard
     
  6. xpro

    xpro Regular Member

    Joined:
    Jan 21, 2009
    Messages:
    416
    Likes Received:
    16
    How can I find out what those calls are? Would they show up in Firebug?
     
  7. mrxtc89117

    mrxtc89117 Junior Member

    Joined:
    Apr 23, 2008
    Messages:
    150
    Likes Received:
    15
    No, PM me with your email address and I will give you the steps
     
  8. xpro

    xpro Regular Member

    Joined:
    Jan 21, 2009
    Messages:
    416
    Likes Received:
    16
    Do you do it in PHP or Perl?
     
  9. mrxtc89117

    mrxtc89117 Junior Member

    Joined:
    Apr 23, 2008
    Messages:
    150
    Likes Received:
    15
    it can be done in both. I apologixze to the person that PM'd me awhile back. I've been busy trying to launch an website but I'll PM you now