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.3.1.tar.gz
(14.3 kB
view details)
File details
Details for the file web-rich-object-0.3.1.tar.gz
.
File metadata
- Download URL: web-rich-object-0.3.1.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2c071a69b53795d8acfc9dc204c8d3778c55c0233bc3822fc5d619c85ec2667 |
|
MD5 | d5c87e952739c8838561b6fb690a8fae |
|
BLAKE2b-256 | 0f596d38d79898da5c6434a814e17b008c55d08c7bd6e64d60c3f6267e1b7e40 |