You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In [3]:
jan = soup.find('ul', {"class": 'jan'})
d_jan = jan.find_all('li') # use jan as a parent --> this cannot work, jan is a list already.
for d in d_jan:
print(d.get_text())
一月一号
一月二号
一月三号
The text was updated successfully, but these errors were encountered:
In [3]:
jan = soup.find('ul', {"class": 'jan'})
d_jan = jan.find_all('li') # use jan as a parent --> this cannot work, jan is a list already.
for d in d_jan:
print(d.get_text())
一月一号
一月二号
一月三号
The text was updated successfully, but these errors were encountered: