Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: screen scraping MECHANIZE

by Limbic~Region (Chancellor)
on Feb 05, 2005 at 14:46 UTC ( [id://428323]=note: print w/replies, xml ) Need Help??


in reply to screen scraping MECHANIZE

garskoci,
You still haven't corrected the typo I made and corrected back in the other thread. I waited for a reply - why didn't you say something wasn't working back then? Have you tried the corrected code?

You might also want to look at an example of working code using WWW::Mechanize. It is nearly impossible for us to tell you what you are doing wrong because we don't have access to your router to test with.

Cheers - L~R

Replies are listed 'Best First'.
Re^2: screen scraping MECHANIZE
by garskoci (Novice) on Feb 05, 2005 at 15:13 UTC
    L~R Thanks. I did add the a to autocheck. It gives the same results. It's not updating the check boxes. I will plow through the tutorial. Thank you.
      garskoci,
      The only way that I can see for this to work is for you to run:
      #!/usr/bin/perl use strict; use warnings; use WWW::Mechanize; my $url= 'http://192.168.0.1/WanService.html'; my $mech = WWW::Mechanize->new( autocheck => 1 ); $mech->credentials( '192.168.0.1:80', 'FVS318', 'admin' => 'secret' ); $mech->get( $url ); print $mech->content();
      And paste the result here in CODE and READMORE tags. We can then create a mock up locally to do testing.

      Cheers - L~R

        I'm not familiar with the READMORE tag. What are they used for? Where do I put them?
      A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-16 18:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found