Skip to main content

Web rich object handler

Project description

This module aims to describe a URL as a Web Rich Object.

It firstly uses OpenGraph protocol and try to guess without.

>>> from web_rich_object import WebRichObject
>>> wro = WebRichObject('https://www.youtube.com/watch?v=4nzaATIOAAE')
>>> wro.title
'Sir Samuel - Urban Classik [CLIP OFFICIEL]'
>>> wro.site_name
'YouTube'
>>> wro.image
'https://i.ytimg.com/vi/4nzaATIOAAE/maxresdefault.jpg'
>>> wro.url
'https://www.youtube.com/watch?v=4nzaATIOAAE'

Project details


Download files

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

Source Distribution

web-rich-object-0.1.4.tar.gz (6.2 kB view details)

Uploaded Source

File details

Details for the file web-rich-object-0.1.4.tar.gz.

File metadata

File hashes

Hashes for web-rich-object-0.1.4.tar.gz
Algorithm Hash digest
SHA256 00b559b6b97a60c3839e7f6c86c59b07428a63a1135d0f4b33b47f57e291a91f
MD5 dcc60ce70f1e52ad0157e3b02ca68e65
BLAKE2b-256 fce2fe92ce1637c15008099e236c4a090f4ce8c1c73692209cf6fba481ea7dca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page