Integrate tracker API for torrent ban/unban

This commit is contained in:
nyaadev
2017-08-06 23:55:45 +02:00
parent 024c90022a
commit 602d35bab7
3 changed files with 34 additions and 4 deletions

View File

@@ -43,7 +43,9 @@ MAX_FILES_VIEW = 1000
# Setting to make sure main announce url is present in torrent
#
ENFORCE_MAIN_ANNOUNCE_URL = False
MAIN_ANNOUNCE_URL = ''
MAIN_ANNOUNCE_URL = 'http://127.0.0.1:6881/announce'
TRACKER_API_URL = 'http://127.0.0.1:6881/api'
TRACKER_API_AUTH = 'topsecret'
BACKUP_TORRENT_FOLDER = 'torrents'