I am trying to use python and beautiful soup to extract the content part of the tags below:
&l
A way I like to solve this is as follows:
(Is neater when using with lists of properties to look up...)
title = soup.find("meta", {"property":"og:title"})
url = soup.find("meta", {"property":"og:url"})
# Using same method as above answer
title = title["content"] if title else None
url = url["content"] if url else None