So I've been trying to scrape the "2005 - 2013" from the "Drink Between 2005 2013" and at first this code worked for me but now I only get empty lists returned, yet my requests still have a 200 status code
import requests, lxml.html, csv
headers = {'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36'}
page = requests.get('http://www.cellartracker.com/wine.asp?
iWine=91411',headers=headers)
print(page.status_code)
html = lxml.html.fromstring(page.content)
content_divs = html.xpath('//a[@title="Source: Community"]/text()')
print(content_divs)
not sure if I should start using selenium to do this scraping because it's a js site, and if so not sure how to do that either so some basic help would be useful! Thanks!!