Browse Source

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

master v3.3.5
parent
commit
2933926128
  1. 9
      resources/lib/utils/__init__.py

9
resources/lib/utils/__init__.py

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

Loading…
Cancel
Save