I am trying to do some web scraping with BS4.
So far I have extracted the <a>
using
urls = [item for item in soup.select('h4 a')]
However, I only want to have the urls where the ID starts which entry.
<a href="http://www.sampleurl.com/static/welcome" id="entry_1">Lamborghini </a>
I have tried item.id
but it does not work.
What am I missing?