(Feb-09-2017, 11:46 AM)metulburr Wrote:Quote:how can I address the second <dd>?you can do another find_all() ondd
tag. sodl.find_all('dd')[1]
**** Ignore comment below, i see your initial reply is changed. Going to work on that. *****
I don't follow completely.
I tried different variants but i keep getting:
Error:AttributeError: 'ResultSet' object has no attribute 'find_all'
dl = soup.find_all('dd', {'class': 'object-kenmerken-list'}) dl = dl.find_all('dd')[1] print(dl[0].dd.text)
dl = soup.find_all('dd', {'class': 'object-kenmerken-list'}) print(dl.find_all('dd')[1].text)It would be great if you can help me understand your suggestion better.