Sha256: e429322fd884e4772f171b9342abf2539c26f96bbccebb08d1ca5824f65b475c
Contents?: true
Size: 483 Bytes
Versions: 26
Compression:
Stored size: 483 Bytes
Contents
=begin rdoc = DISCOVERYNEWS.RB *Author*:: Tamara Temple <tamouse@gmail.com> *Since*:: 2013-06-15 *Copyright*:: (c) 2013 Tamara Temple Web Development *License*:: MIT Scraper for disco news pictures of the week =end require 'mechanize' module Scrapers module DiscoNews def self.disco_downloads(url) @url = url.clone @page = Scrapers.agent.get(url) images = @page.images_with(:class => "media-hero").map(&:src) end end end
Version data entries
26 entries across 26 versions & 1 rubygems