I've seen this on a few sites, though I can't think of one right now. I would like my server to be able to get a URL, then take a screenshot (picture) of it.

I really hope there is a Perl module for this. Anyone know what I am talking about?

Thanks.

What does your server run? Windows or Linux?

What does your server run? Windows or Linux?

Unix/Linux.

Wow, looks nice, but $300 for something that am not sure I am going to use? I dunno. Anything out there in Perl module land? Anything not so pricey?

Don't get me wrong, I appreciate the heads up.

You can do this easily in Perl with GrabzIt they have a great Perl API

To get started you just need to request a screenshot be taken, like so:

#!/usr/bin/perl

use GrabzItClient;

#Create the GrabzItClient class
#Replace "APPLICATION KEY", "APPLICATION SECRET" with the values from your account!
$grabzIt = new GrabzItClient("APPLICATION KEY", "APPLICATION SECRET");
#Take the picture the method will return the unique identifier assigned to this task
$grabzIt->TakePicture("http://www.google.com", "http://www.example.com/GrabzItHandler.pl");

Then you use the GrabzItHandler to save the result, and thats it!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.