Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Parsing HTML source that contains JavaScript

by mrbbking (Hermit)
on May 09, 2002 at 12:16 UTC ( #165349=note: print w/ replies, xml ) Need Help??


in reply to Reg Expression on Javascript?

JavaScript is interpreted and executed by your web browser.

When you use Perl to get the same page, you just get the text of the page - there is no provision to execute any JavaScript that the page might contain.

You noticed that print $content; does not show you the date and time, only the JavaScript that *would have* produced it, had it been executed. That's why you can't find it ... it's not there...


Comment on Re: Parsing HTML source that contains JavaScript

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2014-12-26 07:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (168 votes), past polls