|Welcome to the Monastery|
Getting the innerHTML from the DOM , not the “source”by Karels (Initiate)
|on Apr 23, 2013 at 18:24 UTC||Need Help??|
Karels has asked for the
wisdom of the Perl Monks concerning the following question:
I am processing a webpage with Perl using IO::All and the io($url) function.
The pages I am processing ostensibly have well formed URLs. e.g.
Note the #page:15_ portion of the url
When I view the source or print out the source return fromm io() I see names that appear on page 1 of the website, e.g.,
However, if I open the page up in developer tools in the browser and look through the object model (HTML tab in IE)I see the entries in the list for the people I expect to see on page 15 e.g.,
Can I get Perl to open the page and give me the right contents?
Someone suggested looking at Mechanize. I have looked at pQuery and Web::Query. The ->text methods just return the data from page 1, not page 15.
Is there a way to keep the url "alive" until it refeshes with the correct content?
Thanks in advance