标签:BeautifulSoup

BeautifulSoup库

BeautifulSoup库

安装:conda install beautifulsoup4 获取指定class样式的div soup=BeautifulSoup(html) result = soup.find_all(name='div',attrs={"class...