def listing_row_to_object(row)
        l = Listing.new
        row.css('td').each_with_index do |td, i|

          txt = td.text.strip # yes, slightly slower to do this here, but I type less.

          case i
          when 4
            l.sku = txt
          when 5
            l.asin = txt
          when 6
            l.product_name = txt
          when 7
            l.created_at = parse_amazon_time(txt)
          when 8
            l.quantity = (inputs = td.css('input')).any? ? inputs.first['value'].to_i : txt.to_i
          when 10
            l.price = get_price(td)
          when 11
            l.condition = txt
          when 12
            l.low_price = get_low_price(td)
          when 3
            l.status = txt
          end
        end
        l
      end
def listing_row_to_object(row)
        l = Listing.new
        row.css('td').each_with_index do |td, i|

          txt = td.text.strip # yes, slightly slower to do this here, but I type less.

          case i
          when 4
            l.sku = txt
          when 5
            l.asin = txt
          when 6
            l.product_name = txt
          when 7
            l.created_at = parse_amazon_time(txt)
          when 8
            l.quantity = (inputs = td.css('input')).any? ? inputs.first['value'].to_i : txt.to_i
          when 10
            l.price = get_price(td)
          when 11
            l.condition = txt
          when 12
            l.low_price = get_low_price(td)
          when 3
            l.status = txt
          end
        end
        l
      end
0 - hidden input of sku
 1 - checkbox itemOffer
 2 - actions
 3 - status
 4 - sku
 5 - asin
 6 - product name
 7 - date created
 8 - qty
 9 - your price
 10 - condition
 11 - low price
 12 - buy-box price
 13 - fulfilled by