I can traverse generic tags easily with BS, but I don't know how to find specific tags. For example, how can I find all occurances of <div style="width=300px;">? Is this possible with BS?
with bs4 things have changed a little. so the code should look like this
soup = BeautifulSoup(htmlstring,'lxml')
soup.find_all('div', {'style':"width=300px;"})
Find a specific tag with BeautifulSoup