This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

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

Open Graph Protocol spec: http://ogp.me/

Installation

pip install ExtendedOpenGraph

Features

  • 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.

Usage

input : url

>>> import ExtendedOpenGraph
>>> data = ExtendedOpenGraph.parse(url="http://www.twitter.com")
>>> for key, value in data.items():
...     print "%-15s => %s" % (key, value)
...
url             => http://www.twitter.com
image           => https://abs.twimg.com/a/1373572090/t1/img/front_page/jp-mountain@2x.jpg
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
Release History

Release History

0.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ExtendedOpenGraph-0.3.tar.gz (3.8 kB) Copy SHA256 Checksum SHA256 Source Feb 25, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting