I am trying to use BeautifulSoup:
soup = BeautifulSoup(page)
td_tags = soup.findAll('td')
i=0
for td in td_tags:
i = i+1
print "td: ", td
# re.search('[0-9]*\.[0-9]*', td)
price = re.compile('[0-9]*\.[0-9]*').search(td)
I am getting an error:
price= re.compile('[0-9]*\.[0-9]*').search(td)
TypeError: expected string or buffer