faviconer is easy for get favicon package
Project description
## What is this?
This is a package to get a nice favicon from a website
## Installation
pip install faviconer
## Usage
### Get favicon.ico
from faviconer import *
get_favicon(”http://google.com/”)
‘http://google.com/favicon.ico’
### Get favicon.ico by url
from faviconer import *
get_favicon_by_url(”http://google.com/”)
‘http://google.com/favicon.ico’
### Get favicon.ico by html
from faviconer import *
get_favicon_by_html(‘<html><head><link rel=”shortcut icon” href=”https://cdn.sstatic.net/Sites/stackoverflow/img/favicon.ico”></head><body></body</html>’)
‘https://cdn.sstatic.net/Sites/stackoverflow/img/favicon.ico’
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
Built Distribution
Hashes for faviconer-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a815dc8739dab9fd77e5e04dff4069b96b0b4ee4eb1f7d2db0acf02bd1c2728 |
|
MD5 | 362429fd1197394d909e6cf4fe1d5bc7 |
|
BLAKE2b-256 | efc50a729adfe6c0c9707fb0e6f78e9f94a4f409242409428b18788550b6721f |