vikram7/national-geographic-photo-of-the-day — pull request #1 by nippysaurus (2014-09-17 05:25:44+00:00)
Title: use nokogiri

Just some of my suggested changes.

I would highly recommend saving the image to a temp location where it can remain and be overwritten when a new file is downloaded. Also I did not find the resetting to be necessary.