Skip to content

Instantly share code, notes, and snippets.

@simrotion13
Last active March 16, 2023 22:46
Show Gist options
  • Save simrotion13/4bb533a8f667bf8c7e7e52407ac0c8c2 to your computer and use it in GitHub Desktop.
Save simrotion13/4bb533a8f667bf8c7e7e52407ac0c8c2 to your computer and use it in GitHub Desktop.
#python3 need
#Install mmh3 by running command pip install mmh3
import mmh3
import requests
import codecs
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
response = requests.get('https://licious.in/favicon.ico', verify=False)
favicon = codecs.encode(response.content,"base64")
hash = mmh3.hash(favicon)
print(hash)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment