Python module to parse Open Graph metadata on web pages. For more information on the Open Graph Protocol, see http://ogp.me/.
This repository is currently work in progress, and APIs may change without notice.
- Python 2.7
- Python 3.3, 3.4
- PyPy
Other versions may work, but testing is only done against the above versions.
- Beautiful Soup 4
- Requests
pip install python-opengraph
from opengraph import OpenGraph
og = OpenGraph(url='http://someurl.com')
og.title # would yield the 'title' open graph element