📅  最后修改于: 2022-03-11 14:47:19.476000             🧑  作者: Mango
代码示例1
li = soup.find('li', {'class': 'text'})
children = li.findChildren("a" , recursive=False)
for child in children:
print child