Trying to grab just absolute links from a webpage using BeautifulSoup
- by Kevin
I am reading the contents of a webpage using BeautifulSoup. What I want is to just grab the <a href> that start with http://. I know in beautifulsoup you can search by the attributes. I guess I am just having a syntax issue. I would imagine it would go something like.
page = urllib2.urlopen("http://www.linkpages.com")
soup =…