Retrieving dynamic web content

C

Charlie

I would like to write a script that retrieves dynamically generated web
content. Are there any modules out there that can do this?

Thanks in advance,
Charlie
 
T

Tad McClellan

Charlie said:
I would like to write a script that retrieves dynamically generated web
content.


Whether it is static or dynamic does not matter, a resource
is a resource, it is up to the server to provide the requested
resource in any way that it wants to.

If what you want to do is fetch the resource, then your Perl
program is acting as the _client_ rather than as the server.

Are there any modules out there that can do this?


Yes.


perldoc -q HTML

How do I fetch an HTML file?

How do I automate an HTML form submission?
 
C

Charlie

Thanks for your replies. I made a mistake in describing my original goal:
the pages are in fact dynamically generated, but what I was actually
referring to is data that is pulled up from a db using javascript. The
HTML code doesn't reflect the data itself; is it possible to somehow
retrieve the data that is displayed in a browser rather than the source?

Charlie
 
S

Sam Holden

Thanks for your replies. I made a mistake in describing my original goal:
the pages are in fact dynamically generated, but what I was actually
referring to is data that is pulled up from a db using javascript. The
HTML code doesn't reflect the data itself; is it possible to somehow
retrieve the data that is displayed in a browser rather than the source?

Run it through a Javascript interpreter.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top