Created
October 8, 2020 11:10
-
-
Save Sicks3c/156a27bed46ca38eb3925b0ada69a235 to your computer and use it in GitHub Desktop.
Revisions
-
Sicks3c created this gist
Oct 8, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ #!/usr/bin/python3 import mmh3 import requests import codecs import sys # Uncomment `f` and "file=f" if you want to store the results in a file #f = open('rez','w') urls = sys.stdin.read().split("\n") for x in urls: response = requests.get('{}'.format(x), verify=False) favicon = codecs.encode(response.content,"base64") hash = mmh3.hash(favicon) print(hash) #file=f)