Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to use WWW::Scripter to get a web page with Javascript in it and using the following code look at the HTML.
my $url = 'http://www.whatever.whatever'; my $mechObject = new WWW::Scripter; $mechObject->use_plugin('JavaScript'); $mechObject->get( $url ); print $mechObject -> content;
This seems to follow the example at CPAN but prints out the javascript. As a perl appprentice coder of not much knowledge can someone point me in the right direction please.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Trying to view HTML created from JavaScript web page
by Anonymous Monk on Apr 18, 2012 at 15:27 UTC | |
by Anonymous Monk on Apr 19, 2012 at 11:04 UTC | |
by marto (Cardinal) on Apr 19, 2012 at 11:22 UTC | |
|
Re: Trying to view HTML created from JavaScript web page
by Anonymous Monk on Apr 19, 2012 at 04:10 UTC | |
by Anonymous Monk on Apr 19, 2012 at 11:01 UTC | |
by Anonymous Monk on Apr 19, 2012 at 12:48 UTC |