in reply to Re^2: screen scraping
in thread screen scraping
garskoci,
Are the user and pass fields form values as the WWW::Mechanize example indicates, or are they more like HTTP basic auth like the LWP::UserAgent shows? I am just guessing, but what does the following code do?
Are the user and pass fields form values as the WWW::Mechanize example indicates, or are they more like HTTP basic auth like the LWP::UserAgent shows? I am just guessing, but what does the following code do?
FWIW, take a look at WWW::Mechanize::Shell as well.#!/usr/bin/perl use strict; use warnings; use WWW::Mechanize; my $mech = WWW::Mechanize->new( autocheck => 1 ); $mech->credentials( '192.168.0.1:80', 'FVS318', 'admin' => 'secret' ); # And then $mech->get() the same as in the LWP::UserAgent code
Cheers - L~R
Update: Added a to autocheck
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: screen scraping
by garskoci (Novice) on Jan 08, 2005 at 20:16 UTC | |
by Limbic~Region (Chancellor) on Jan 09, 2005 at 00:30 UTC | |
Re^4: screen scraping
by garskoci (Novice) on Jan 08, 2005 at 20:38 UTC |
In Section
Seekers of Perl Wisdom