📅  最后修改于: 2022-03-11 14:46:07.487000             🧑  作者: Mango
代码示例1
import re
from bs4 import BeautifulSoup
soup = BeautifulSoup("""
1 GB
""", "xml")
print(soup.find("span", title = re.compile("RAM")).text)