soup = BeautifulSoup(r.text,"lxml")
AI 代码解读
改为
soup = BeautifulSoup(r.text,"html.parser")
AI 代码解读
完美解决