Corrected a bug in the photo scraping method.