获得当前文本中所有ul标签
print(soup.find_all(name='ul'))
print(soup.find_all(name='ul')[0])
for ul in soup.find_all(name='ul'):
for li in ul.find_all(name='li'):
print(li.string)
获得当前文本中所有ul标签
print(soup.find_all(name='ul'))
print(soup.find_all(name='ul')[0])
for ul in soup.find_all(name='ul'):
for li in ul.find_all(name='li'):
print(li.string)