2010-10-15 62 views

回答

2

與BS4事情已經改變了一點。所以代碼應該看起來像這樣

soup = BeautifulSoup(htmlstring,'lxml') soup.find_all('div', {'style':"width=300px;"})

相關問題