I'm trying to extract a link in Python 3.4 with BeautifulSoup4, and there are no identifying element markers such as id, class, or etc.. However, before each link, there is a static string of text such as follows:
<h2>
"Precluding-Text:"
<a href="http://the-link-im-after.com">Varying Anchor Text</a>
</h2>
My end goal is to get the following output:
http://the-link-im-after.com/