scrapely icon indicating copy to clipboard operation
scrapely copied to clipboard

How to extract a list of items

Open rkmax opened this issue 9 years ago • 0 comments

How I can extract a list of items example.html

Beer red 1.50
Coffee black 2.0
Corn yellow 3.65

I know i can do it

data = {
  'name': 'Beer',
  'color': 'red'
  'price': '1.50'
}

s = scrapely.Scraper()
s.train('http//example.com', data)
...

to train example.html but how I can extract the rest of the data. I mean I need extract a list of items from that page

rkmax avatar May 26 '16 17:05 rkmax