I am trying to use python and beautiful soup to extract the content part of the tags below:
&l
try this :
soup = BeautifulSoup(webpage) for tag in soup.find_all("meta"): if tag.get("property", None) == "og:title": print tag.get("content", None) elif tag.get("property", None) == "og:url": print tag.get("content", None)