Helps you generating link previews on the fly!
Project description
Helps you to generate link previews on the fly! Use harpies to get the information of a webpage to generate a preview, then you know how you want to style the preview with the information.
Installation
You can install harpies using pip,
pip install harpies
Requires Python 3 or above to run. If you have Python 2 installed too, make sure to use the right pip.
Usage
>>> import harpies >>> data = harpies.preview_data("iamlizu.com") >>> print(data) {"title": "S M Mahmudul Hasan", "description": "WordPress security expert, creates technological contents in spare times, mostly found on tech forums, part-time gamer, listens to electronic music.", "image": "https://iamlizu.com/wp-content/uploads/2019/10/iamlizu.com-cover.png", "url": "https://iamlizu.com/"}
Please look for logs at ‘~/Documents/harpies.log’
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
harpies-1.0.0.tar.gz
(2.3 kB
view details)
File details
Details for the file harpies-1.0.0.tar.gz
.
File metadata
- Download URL: harpies-1.0.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee5ebcbe399ce97a21e7f22ae02424416ccf9ac41ea5e392175160679302ca9d |
|
MD5 | 0621470d919dc852b371ae9a5114e7fa |
|
BLAKE2b-256 | fd63316281ce991f6aeb1adb73c93a947fc884267c5c219f97c01b9d18f0383a |