My first post here, glad to find this community, down to business:
What I am trying to do regards the website mochigames.com. Whenever you load up one of their flash games, there is an advertisement that displays as an overlay before it launches.
I'd like to be able to screenshot the area of the browser that contains the game (a 640 x 480 div), and then click-through the ad and keep track of the URL(s) until the final advertisement URL is reached.
Some ads go straight to the ad page when you click, while others redirect the URL a couple times before arriving at the final destination URL.
So basically, I want to supply cURL with the URLs for various games, and get the script to create a respectable screenshot, and record the URL(s) to the destination advertisement.
Any ideas? Pretty new to cURL.
Thanks for any assistance in advance!
Edited by digitalpurpose, 08 January 2013 - 10:50 PM.