How can I use Perl to scrape a website that reveals its content with JavaScript?

前端 未结 4 1016
南方客
南方客 2020-12-11 10:54

I need to write a Perl script to scrape a website. The website can only be scraped with JavaScript, and the user is on Windows.

I got some way with Win32::IE::Mech

4条回答
  •  甜味超标
    2020-12-11 11:02

    Have a look at Win32::Watir. It's a newer module and explicitly supports IE 6, 7 and 8.

提交回复
热议问题