Sha256: 4c4a6861cdf1f649bd03d6711e30acb2d0d31003de8fde188a9dc8304884b5be

Contents?: true

Size: 182 Bytes

Versions: 18

Compression:

Stored size: 182 Bytes

Contents

module Caboodle
  def self.scrape url
    Nokogiri::HTML(Weary.get(url).perform_sleepily.body)
  end
  
  def self.mash req
    Hashie::Mash.new(req.perform_sleepily.parse)
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
caboodle-0.2.8 lib/caboodle/scrape.rb
caboodle-0.2.7 lib/caboodle/scrape.rb
caboodle-0.2.6 lib/caboodle/scrape.rb
caboodle-0.2.5 lib/caboodle/scrape.rb
caboodle-0.2.3 lib/caboodle/scrape.rb
caboodle-0.2.2 lib/caboodle/scrape.rb
caboodle-0.2.1 lib/caboodle/scrape.rb
caboodle-0.2.0 lib/caboodle/scrape.rb
caboodle-0.1.9 lib/caboodle/scrape.rb
caboodle-0.1.8 lib/caboodle/scrape.rb
caboodle-0.1.7 lib/caboodle/scrape.rb
caboodle-0.1.6 lib/caboodle/scrape.rb
caboodle-0.1.5 lib/caboodle/scrape.rb
caboodle-0.1.4 lib/caboodle/scrape.rb
caboodle-0.1.3 lib/caboodle/scrape.rb
caboodle-0.1.2 lib/caboodle/scrape.rb
caboodle-0.1.1 lib/caboodle/scrape.rb
caboodle-0.1.0 lib/caboodle/scrape.rb