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 ( #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? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2022-09-27 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (122 votes). Check out past polls.

    Notices?