erikriver / opengraph

A python module to parse the Open Graph Protocol
http://ogp.me/
MIT License
226 stars 82 forks source link

Added option to scrape page for attributes in case og meta elements are not present #1

Closed jjdelc closed 12 years ago

jjdelc commented 12 years ago

In order for this to work similar to Facebook's robot, I've added an 'scrape' parameter to the OpenGraph class, when True it will scrape the document's body for fallback values in case the required og meta attribtutes are not present.