Sha256: ba1df4ebeb8af5f0345947d5b8b46adcbf6b0e318045a66a4a746a2c819c67f8
Contents?: true
Size: 349 Bytes
Versions: 1
Compression:
Stored size: 349 Bytes
Contents
class Pizza include Scrapify::Base html "http://www.dominos.co.in/menuDetails_ajx.php?catgId=1" attribute :name, css: ".menu_lft li a" attribute :image_url, xpath: "//li//input//@value" attribute :price, css: ".price", regex: /([\d\.]+)/ attribute :ingredients, css: ".ingredients", regex: /contains (\w+)/, array: true key :name end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
scrapify-0.0.5 | spec/pizza.rb |