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.1.tar.gz
(4.2 kB
view details)
File details
Details for the file web-rich-object-0.1.1.tar.gz
.
File metadata
- Download URL: web-rich-object-0.1.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd0b5c6d00db29d7c38a1fe2510f6545bc4bc9ebbf111611e5eba4dc15741c5d |
|
MD5 | 56d57342b82227066d0971744998084a |
|
BLAKE2b-256 | c0ae4d92dc0d8d2648c31318b18f94e434263ab8fbb86a712c06c76a712866d7 |