BeautifulSoup警告: BeautifulSoup([your markup], "html.parser")
今天看一书,跟着敲了点代码,代码如下:fromurllib.requestimporturlopenfrombs4importBeautifulSouphtml=urlopen("http://www.pythonscraping.com/pages/page1.html")bsObj=BeautifulSoup(html.read())print(bsObj.h1)这个书中没提,但是会报警告/L