This commit is contained in:
6
utils/utils.py
Normal file
6
utils/utils.py
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
def get_md5(url) -> str:
|
||||
import hashlib
|
||||
m = hashlib.md5()
|
||||
m.update(url.encode('utf-8'))
|
||||
return m.hexdigest()
|
||||
Reference in New Issue
Block a user