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

master v3.3.5
Роман Бородин 2022-04-30 20:23:45 +03:00
parent 125f4f6b57
commit 2933926128
1 changed files with 5 additions and 4 deletions

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']: