in reply to Perl- Interacting with a web page with dynamic html (javascripts and jqueries)
It's far easier to get a browser running on your blade, than to emulate one which fully supports JS including JQueries and DOM.¹
Maybe you can analyze the involved JS such that Perl can simulate the necessary HTTP communication.
see also "JavaScript" in WWW::Mechanize::FAQ
Cheers Rolf
( addicted to the Perl Programming Language)
¹) if your only limitation is the lack of display (i.e. not having a GUI), then you probably want to try http://phantomjs.org/ or WWW::WebKit.
See this blog post for more links:
http://blogs.perl.org/users/robhammond/2013/02/web-scraping-with-perl-phantomjs.html
|
|---|