Параметры поддержки раздачи и приёма соединений пиров

This commit is contained in:
roman committed 2022-04-30 20:23:45 +03:00
1 parent 125f4f6b57
commit 2933926128
1 file changed
+5 -4
+5 -4
View File
@@ -48,11 +48,12 @@ def get_engine(torrent_uri):
}
else:
proxy = None
return Engine(uri=file_url(torrent_uri), download_path=storage_download_dir,
encryption=1, keep_files=False,
dht_routers=["router.bittorrent.com:6881", "router.utorrent.com:6881"], use_random_port=False,
return Engine(uri=file_url(torrent_uri),
download_path=storage_download_dir,
keep_files=False,
listen_port=6881,
user_agent='', enable_dht=True, proxy=proxy, debug_alerts=False)
proxy=proxy,
debug_alerts=False)
while not option['storage_dir']: