parent
125f4f6b57
commit
2933926128
|
@ -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…
Reference in New Issue