lib/scraper/flickr.rb in cyx-scraper-0.4.2 vs lib/scraper/flickr.rb in cyx-scraper-0.4.3

- old
+ new

@@ -64,7 +64,13 @@ doc.search('img.pc_img').first.attribute('src').to_s else doc.search('link[rel=image_src]').first.attribute('href').to_s end end + + def img + unless photostream? + doc.search('.photoImgDiv img').first.attribute('src').to_s + end + end end end \ No newline at end of file