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

Posted by AmbroseChapel on Stack Overflow See other posts from Stack Overflow or by AmbroseChapel
Published on 2010-04-24T09:21:54Z Indexed on 2010/04/25 15:03 UTC
Read the original article Hit count: 200

Filed under:
|
|
|
|

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::Mechanize on my work machine, which has IE6, but then I moved to my netbook which has IE8, and can't even get as far as fetching a simple page.

Is Win32::IE::Mechanize up to date with the latest versions of IE?

But, more to the point, given a recent WinXP machine, what's the quickest, easiest way to scrape a site which only reveals its content via JavaScript?

© Stack Overflow or respective owner

Related posts about perl

Related posts about ie