I am learning python and am trying to improve my web scraping skills. I am trying to web scrape a website to get the website of all the other exhibitors on the website but my python code is not able to search for the htlm code to get the details.
<div class="m-exhibitor-entry__item__body__contacts__additional__website">
<h4>Website</h4>
<a href="http://www.aasiasteel.com/" target="_blank">http://www.aasiasteel.com/</a>
</div>
I am trying to use the below code but am not getting anything.
for i in soup.findAll( "div",attrs={"class":"m-exhibitor-entry__item__body__contacts__additional__website"}):
print(i['href'])
can someone help me with this?