I was working a simple example with BeautifulSoup, but I was getting weird resutls.
Here is my code:
soup = BeautifulSoup(page)
print soup.prettify()
stuff = soup.findAll('td', attrs={'class' : 'prodSpecAtribtue'})
print stuff
When I print I get:
[]
Not sure what's happening, because when I printed soup on the screen I got proper data. Basically I am searching for values in found in tag <td>
under class prodSpecAtribtue