####一、解析
html = "xxx" //Html数据来源
soup = BeautifulSoup(html,"html.parser") //第二个参数代表解析的框架
//全本搜索标签P的,并且class是text bottom-dis-8的所有标签,返回Tag
soup.find_all("p","text bottom-dis-8")
//可以用contents属性获取tag下的子tag
tag.contents[0]
//Tag的文本信息
tag.text
####一、解析
html = "xxx" //Html数据来源
soup = BeautifulSoup(html,"html.parser") //第二个参数代表解析的框架
//全本搜索标签P的,并且class是text bottom-dis-8的所有标签,返回Tag
soup.find_all("p","text bottom-dis-8")
//可以用contents属性获取tag下的子tag
tag.contents[0]
//Tag的文本信息
tag.text