I am trying to scrape a webpage just for learning. In that webpage there are multiple "a" tags. consider the below code
<a href='\abc\def\jkl'> Something </a>
<a href ='http://www.google.com'> Something</a>
Now i want to read only those href attributes in which there is http. My Current code is
for link in soup.find_all("a"):
print link.get("href")
I would like to change it to read only "http" links.