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.1.5.tar.gz
(7.1 kB
view details)
File details
Details for the file web-rich-object-0.1.5.tar.gz
.
File metadata
- Download URL: web-rich-object-0.1.5.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4796ff5e4ae9f66f762356395fb62e7f5383fc2ac2f06d7561445a82d2a41e18 |
|
MD5 | 84cd7cb23164fef7ffd97e45bb05e9c4 |
|
BLAKE2b-256 | 75fc432d7ca7c801aa4717d0be4597b7905917ea5b49d89885a5519c6838b6d4 |