Seedbox-Components/Torrent Clients/Deluge/deluge.addHost.py

15 lines
225 B
Python
Raw Normal View History

2021-08-05 02:39:27 +08:00
# Obtain from https://github.com/amefs/quickbox-lite
#!/usr/bin/env python
#
# Deluge hostlist id generator
#
# deluge.addHost.py
#
#
import hashlib
import sys
import time
print hashlib.sha1(str(time.time())).hexdigest()