Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Download Webpage as how browser is showing a webpage

by Gangabass (Vicar)
on Oct 14, 2011 at 08:04 UTC ( #931452=note: print w/replies, xml ) Need Help??

in reply to Download Webpage as how browser is showing a webpage

I have found this code in the WWW::Mechanize::Firefox documentation:

Fetch a page to a file with all images
use WWW::Mechanize::Firefox; my $mech = WWW::Mechanize::Firefox->new( tab => 'current', ); $mech->get(''); $mech->save_content('google_com.html', 'google_com files');

Replies are listed 'Best First'.
Re^2: Download Webpage as how browser is showing a webpage
by Anonymous Monk on Oct 14, 2011 at 08:26 UTC

    Hi Gangabass

    I executed that program.I am not getting as same browser shows .In download fie images are missing

    Any idea?

      what are you getting when you run it (any error messages)? Did you have any problems installing WWW::Mechanize::Firefox? Do you have the Mozrepl plugin for firefox? You need to install that to communicate with firefox.


        Sorry for late reply

        I got this error

        pattern match timed-out at C:/Perl/site/lib/MozRepl/ line 151

        I installed mozrepl as add on in firefox


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://931452]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (1)
As of 2018-02-20 00:45 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (266 votes). Check out past polls.