Sha256: 19c01763f67ee869d525359c1dfa3404b9225a969c6749e1bec0f9a8455e164b

Contents?: true

Size: 792 Bytes

Versions: 3

Compression:

Stored size: 792 Bytes

Contents

module Goodwill
  module CSSPaths
    # Auction Page
    # http://www.shopgoodwill.com/viewItem.asp?itemID=<itemID>
    BIDS_PATH = '#more_images'
    CURRENT_PRICE_PATH = 'body > span > div.itemdetail > div:nth-child(2) > div:nth-child(3) > div > table > tr:nth-child(2) > th'
    END_TIME_PATH = 'body > span > div.itemdetail > div:nth-child(2) > div:nth-child(2) > div > table > tr:nth-child(5) > td'
    ITEMID_PATH = 'body > span > div.itemdetail > div:nth-child(2) > div:nth-child(2) > div > table > tbody > tr:nth-child(3) > td'
    ITEM_TITLE_PATH = '#title > span'
    SELLER_PATH = 'body > span > div.itemdetail > div:nth-child(2) > div:nth-child(2) > div > table > tr:nth-child(7) > td > b'
    SHIPPING_PATH = 'body > center > table > tr:nth-child(8) > td:nth-child(2)'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
goodwill-0.3.0 lib/goodwill/csspaths.rb
goodwill-0.2.1 lib/goodwill/csspaths.rb
goodwill-0.2.0 lib/goodwill/csspaths.rb