I've found this way to solve my question :
for partners in soup.find_all('section', {'class': "content-partners"}):
for partnersTC in partners.find_all('p'):
if 'partners">' in str(partnersTC):
I do not use the '
a' tag and its
'href' attribute. Instead I test if the text
'partners">' is present.
There may have a better and proper way to achieve it. Thank you for your input
Villard