📜  beautifulsoup find - Python 代码示例

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

代码示例4
li = soup.find('li', {'class': 'text'})
children = li.findChildren("a" , recursive=False)
for child in children:
    print child