in reply to How to have Perlscript scrape images from a URL that has Javascript?

'The closest I've come to is finding WWW::Mechanize::Firefox yet I can't get around the "Failed to connect to , problem connecting to "localhost", port 4242" error. From what I've seen MozRepl is needed et no longer around?'

You may have missed IMPORTANT NOTICE, WWW::Mechanize::Firefox is unlikely to work unless you're using an old version of the browser. Perhaps WWW::Mechanize::Chrome is of interest.

'What I get now however is just the thumbnails since (I'm guessing) that JavaScript does'

Don't guess, better to be sure.

'wondering if there's a workable solution for a newbie to Perl?'

Depending on the target site there could be an API available. IIRC this is how the scrapers used by Kodi work. Failing that there may be code out there specifically for this site, but you don't say which site it is.

  • Comment on Re: How to have Perlscript scrape images from a URL that has Javascript?