Sha256: f39bb81c58ba830cca5a2512a1cd780d1b7d5594f53785d1a3cfcff174827ab7

Contents?: true

Size: 720 Bytes

Versions: 3

Compression:

Stored size: 720 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 > tbody > tr:nth-child(6) > 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'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
goodwill-0.1.3 lib/goodwill/csspaths.rb
goodwill-0.1.2 lib/goodwill/csspaths.rb
goodwill-0.1.0 lib/goodwill/csspaths.rb