Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^5: screen scraping

by Limbic~Region (Chancellor)
on Jan 09, 2005 at 00:30 UTC ( #420612=note: print w/replies, xml ) Need Help??

in reply to Re^4: screen scraping
in thread screen scraping

I get an error.

In your original post you said you can not login and in this one you say you get an error. Keep in mind that we can't see what you see so in order to help we need to know what is not working, how it is not working, and what error messages you get. In this case, I believe I made a typo which you could have fixed by RTFMing. Here is the corrected code that should work.

#!/usr/bin/perl use strict; use warnings; use WWW::Mechanize; my $url = ''; # Change if necessary my $mech = WWW::Mechanize->new( autocheck => 1 ); $mech->credentials ( '', 'FVS318', 'admin' => 'secret' ); $mech->get( $url ); # Rest of code goes here
Incidently, davido had an almost identical problem which you can read about here.

Cheers - L~R

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://420612]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2023-01-29 05:37 GMT
Find Nodes?
    Voting Booth?

    No recent polls found