How can I handle Javascript in a Perl web crawler?

前端 未结 4 786
说谎
说谎 2020-11-27 07:15

I would like to crawl a website, the problem is, that its full of JavaScript things, such as buttons and such that when they are pressed, they do not change the URL, but the

4条回答
  •  無奈伤痛
    2020-11-27 07:22

    WWW::Mechanize::Firefox might be of use. that way you can have Firefox handle the complex JavaScript issues and then extract the resultant html.

提交回复
热议问题