joshua-hull/Reddit-Image-Scraper — Issue #4: Error GETting i.imgur.com link.
Author: joshua-hull
Created: 2011-10-30 00:08:52+00:00
State: open

I've gotten a couple of cases now which report as 'Error GETing http://i.imgur.com/xxxxx.jpg: Not Found at ./Reddit_Image_Scraper line 46'. In each case the image has been replace or removed. However, entering the URL into a browser yields imgur's standard "The image you are requesting does not exist or is no longer available." placeholder image.

If anyone else get this message I would appreciate you letting me know.

I get a feeling that the headers returned by the link indicate an error so WWW::Mechanize just chokes and dies. For now I've disabled autocheck in the $mech instance and the script just keeps chugging along without actually writing the image to disk. If anyone can find a problem with this or a better solution I would appreciate it.