EDOT: you guys are right, bs4 is much better and have started using it, its much more intuitive and actually finds links although I'm still struggling at points haha thank you all very much
had a look and this doesnt seem to be in the other posts
so i am pretty sure I can use regex for this as the 15 links in this html page are pretty well defined I think, its an amazon page with 15 product links and I want those links input is this
<a href="\n\n\n\n\n\n https://www.amazon.co.uk/Nikon-Coolpix-L340-Bridge-Camera/dp/B00THKEKEQ/ref=zg_bs_560836_2 ">Nikon Coolpix L340 Bridge Camera - Bl...</a>
I have tried
import re
links = re.findall(r'^(/n/n/n/n/n/n).(")', page)
which wont work, any thoughts?