Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: HTTP GET with a timer

by Gangabass (Vicar)
on Dec 13, 2013 at 11:05 UTC ( [id://1067017]=note: print w/replies, xml ) Need Help??


in reply to HTTP GET with a timer

I don't understand your issue. Below code works for me:
use WWW::Mechanize; use FindBin qw($Bin); my $web_address = "https://www.edockets.state.mn.us/EFiling/edockets/s +earchDocuments.do?method=showPoup&documentId={615DAF1F-C025-401F-9150 +-DB3337EF61A7}&documentTitle=201312-94506-01"; my $mech = WWW::Mechanize->new(); $mech->get($web_address); open my $fh, ">:raw", "$Bin/result.pdf" or die $!; print {$fh} $mech->content(); close $fh;

Log In?
Username:
Password:

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

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

    No recent polls found