class Racleta::Soundcreation

Parses soundcreation.ro Returns:

Constants

BASE_URL

Public Class Methods

crawl(path) click to toggle source
# File lib/racleta/sites/soundcreation.rb, line 8
def self.crawl(path)
  Wombat.crawl do
    base_url BASE_URL
    path path
    name xpath: '//meta[@property="og:title"]/@content'
    price xpath: '//meta[@itemprop="price"]/@content', &:to_i
  end
end