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

Version Path
scrapers-3.2.0 lib/scrapers/discoverynews.rb
scrapers-3.1.0 lib/scrapers/discoverynews.rb
scrapers-3.0.0 lib/scrapers/discoverynews.rb
scrapers-2.1.0 lib/scrapers/discoverynews.rb
scrapers-2.0.2 lib/scrapers/discoverynews.rb
scrapers-2.0.1 lib/scrapers/discoverynews.rb
scrapers-2.0.0 lib/scrapers/discoverynews.rb
scrapers-1.5.6 lib/scrapers/discoverynews.rb
scrapers-1.5.5 lib/scrapers/discoverynews.rb
scrapers-1.5.4 lib/scrapers/discoverynews.rb
scrapers-1.5.3 lib/scrapers/discoverynews.rb
scrapers-1.5.2 lib/scrapers/discoverynews.rb
scrapers-1.5.1 lib/scrapers/discoverynews.rb
scrapers-1.5.0 lib/scrapers/discoverynews.rb
scrapers-1.4.0 lib/scrapers/discoverynews.rb
scrapers-1.3.0 lib/scrapers/discoverynews.rb
scrapers-1.2.0 lib/scrapers/discoverynews.rb
scrapers-1.1.0 lib/scrapers/discoverynews.rb
scrapers-1.0.0 lib/scrapers/discoverynews.rb
scrapers-0.4.3 lib/scrapers/discoverynews.rb