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.3.tar.gz
(4.5 kB
view details)
File details
Details for the file web-rich-object-0.1.3.tar.gz
.
File metadata
- Download URL: web-rich-object-0.1.3.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d3d729ec231033d2682cef15e976aebfa38845c7f068c4c720310d5fcd2daa7 |
|
MD5 | 40caa1d33a249734a063669db5e9e9da |
|
BLAKE2b-256 | 58df77b574370a56b2057f40c7018795285aea5d6339dba94afb53010a2ac27e |