lib/scraper.rb in cyx-scraper-0.3.1 vs lib/scraper.rb in cyx-scraper-0.4.0

- old
+ new

@@ -3,12 +3,13 @@ module Scraper autoload :Article, 'scraper/article' autoload :Youtube, 'scraper/youtube' autoload :Vimeo, 'scraper/vimeo' + autoload :Flickr, 'scraper/flickr' autoload :Modules, 'scraper/modules' - HANDLERS = [ :Youtube, :Vimeo, :Article ] + HANDLERS = [ :Youtube, :Vimeo, :Flickr, :Article ] end def Scraper( args = {} ) Scraper::HANDLERS.each do |handler| if object = (Scraper.const_get(handler) =~ args) \ No newline at end of file