Get meta tag content property with BeautifulSoup and Python
from bs4 import BeautifulSoup
title = soup.find("meta", property="og:title")
Reference Site:
https://stackoverflow.com/questions/36768068/get-meta-tag-content-property-with-beautifulsoup-and-python
https://stackoverflow.com/questions/38009787/how-to-extract-meta-description-from-urls-using-python
How to use python pyquery to get metadata content
Not sure
keyword = query("meta[name='keywords']").text()
Reference Site:
https://stackoverflow.com/questions/20382578/how-can-i-get-content-value-from-meta-tag-using-pyquery
No comments:
Post a Comment