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.2.2.tar.gz (14.6 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for web-rich-object-0.2.2.tar.gz
Algorithm Hash digest
SHA256 b5f9780d11e7982b3480e18699ad0fe382c3a3cac6e2d365caf90c59ebb18614
MD5 828868b21b80dd4ceb193d5140d428a5
BLAKE2b-256 ee6a59786e7d3766931b61e94f32cf1a2aeeb0274ecd7a3290217b587ee3ddbc

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