Skip to main content

A module of parsing the open graph protocol and extracing the summary of the web page.

Project description

ExtendedOpenGraphParser is a python module for parsing the Open Graph Protocol.

Open Graph Protocol spec:


pip install ExtendedOpenGraph


  • Based on opengraph.
  • If not exist Open Graph properties in meta tag, it is able to parse basic Metadata.
  • Input URL and HTML.
  • Output python dictionary.
  • Like Facebook.


input : url

>>> import ExtendedOpenGraph
>>> data = ExtendedOpenGraph.parse(url="")
>>> for key, value in data.items():
...     print "%-15s => %s" % (key, value)
url             =>
image           =>
type            => website
title           => 트위터

input : html

>>> ex_html="<html><head><title>ExtendOpenGraph</title></head><body><img src='logo.png'/></body></html>"
>>> data = ExtendedOpenGraph.parse(html=ex_html)
>>> for key, value in data.items():
...     print "%-15s => %s" % (key, value)
url             => None
image           => logo.png
type            => website
title           => ExtendOpenGraph

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ExtendedOpenGraph, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size ExtendedOpenGraph-0.3.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page