Skip to main content

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


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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page