📜  beautifulsoup 删除元素 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:46.254000             🧑  作者: Mango

代码示例1
# delete scripts using beautifulsoup

for script in soup.select('script'):
  script.decompose()