I am trying to get the 80 and 443 out of the tag
from bs4 import BeautifulSoup as bs
<ul class="ports">
<li><a href="#80">80</a>
</li>
<li><a href="#443">443</a>
</li>
</ul>
<a><div class="state">http</div><a href="http://localhost:80" target="_blank" class="link"><i class="fa fa-mail-forward">
</i></a>