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

15 lines
225 B
Python

# 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()