hexbase has asked for the wisdom of the Perl Monks concerning the following question:
Since the captcha comes from a php file, mech saves it as html, but not the image. However, the image can be saved manually on a browser. So, How do i save only the image, so it can be opened as a jpg later? Thanksmy $mech = WWW::Mechanize->new(); $mech->get( $captchaurl, ':content_file' => 'captchar.jpg' );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do i save an image with www::mechanize
by jonnyfolk (Vicar) on Jan 20, 2009 at 04:34 UTC | |
by Anonymous Monk on Jan 20, 2009 at 08:56 UTC | |
by wilsond (Scribe) on Jan 20, 2009 at 08:20 UTC | |
by Anonymous Monk on Jan 20, 2009 at 08:50 UTC | |
by wilsond (Scribe) on Jan 21, 2009 at 19:18 UTC | |
by missingthepoint (Friar) on Jan 21, 2009 at 01:50 UTC | |
|
Re: How do i save an image with www::mechanize
by jeffa (Bishop) on Jan 20, 2009 at 14:40 UTC | |
by Lawliet (Curate) on Jan 20, 2009 at 23:51 UTC | |
|
Re: How do i save an image with www::mechanize
by missingthepoint (Friar) on Jan 21, 2009 at 01:37 UTC |