I am trying to use bs4 to extract this email, I've tried multiple methods and the output is still either none or blank.
<div> class = name 1
<div> class = name 2
<div> class = name 3
<div>
<p> blah blah </p>
<p>
<a href = "mailto:email@email.com">
email@email.com </a>
</p>
</div>
</div>
this was my first attempt but I still receive nothing
from bs4 import BeautifulSoup
from lxml import html
import requests
import time
html = requests.get('https://soundcloud.com/camcontrast')
soup = BeautifulSoup(html.text, 'lxml')
for a in soup.select('.infoStats__description p a'):
print(a['href'], a.get_text(strip=True))