Class: LCBO::ProductListPage

Inherits:
Object
  • Object
show all
Includes:
CrawlKit::Page
Defined in:
lib/lcbo/pages/product_list_page.rb

Constant Summary collapse

PER_PAGE =
100

Instance Method Summary collapse

Methods included from CrawlKit::Page

#[], #as_hash, #fields, #http_method, included, #initialize, #is_parsed?, #parse, #process, #request, #request_prototype

Instance Method Details

#product_anchorsObject



75
76
77
# File 'lib/lcbo/pages/product_list_page.rb', line 75

def product_anchors
  doc.css("td[style='padding: 5 5 5 0;'] a.item-details-col2")
end