警告:没有显性的指定解析器,报错行如下: bs = BeautifulSoup(htmlpage3) 规范的操作是加入解析器,例如: bs = BeautifulSoup(htmlpage3, "html.parser")