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
Release history Release notifications | RSS feed
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.1.tar.gz
(13.3 kB
view details)
File details
Details for the file web-rich-object-0.2.1.tar.gz
.
File metadata
- Download URL: web-rich-object-0.2.1.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 822d5a6754fa928502d080b901001a84b893eec1f74409fb0b0681c336250bd0 |
|
MD5 | 5198a35197a5ef52cbc94b88c280c950 |
|
BLAKE2b-256 | 88deeb012f7642af49b97da3a3f479a32593b1bb2b293f89f857bd9cc56b78e9 |