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
import faviconer
faviconer.get(”http://google.com/”)
‘http://google.com/favicon.ico’
### Get favicon.ico by url
import faviconer
get_by_url(”http://google.com/”)
‘http://google.com/favicon.ico’
### Get favicon.ico by html
import faviconer
get_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
faviconer-0.0.8.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for faviconer-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00258c5a2fb74fde1fe6634de969a60b05c65b554afd7095c0f318793fc3daf7 |
|
MD5 | 3842577d3bcafd9b9c7b5751a49fc627 |
|
BLAKE2b-256 | 13d1ffa38bfbbae0e341767aef97ede77d6e44fd231f5b6d6d4156e5346de070 |