Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Download Webpage as how browser is showing a webpage

by Gangabass (Priest)
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('http://google.com'); $mech->save_content('google_com.html', 'google_com files');


Comment on Re: Download Webpage as how browser is showing a webpage
Select or Download Code
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.

        Hi

        Sorry for late reply

        I got this error

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

        I installed mozrepl as add on in firefox

        Senthil

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (16)
As of 2014-07-30 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (234 votes), past polls