Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Javascript in Perl and retrieving the HTML source.

by bear0053 (Hermit)
on Sep 22, 2003 at 15:58 UTC ( [id://293168]=note: print w/replies, xml ) Need Help??


in reply to Javascript in Perl and retrieving the HTML source.

try this:
my $SendObject=Win32::OLE->new('microsoft.XMLhttp'); $SendObject->open"GET", "http://www.helpfulholidays.com/availability_f +ullpage.asp?pref=T421&year=2003", "false"); $SendObject->setRequestHeader("Content-type", "text/plain"); $SendObject->send(); my $RegResponse = $SendObject->responseText;
in $RegResponse the html source will be

Log In?
Username:
Password:

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

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

    No recent polls found