parent
125f4f6b57
commit
2933926128
|
@ -48,11 +48,12 @@ def get_engine(torrent_uri):
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
proxy = None
|
proxy = None
|
||||||
return Engine(uri=file_url(torrent_uri), download_path=storage_download_dir,
|
return Engine(uri=file_url(torrent_uri),
|
||||||
encryption=1, keep_files=False,
|
download_path=storage_download_dir,
|
||||||
dht_routers=["router.bittorrent.com:6881", "router.utorrent.com:6881"], use_random_port=False,
|
keep_files=False,
|
||||||
listen_port=6881,
|
listen_port=6881,
|
||||||
user_agent='', enable_dht=True, proxy=proxy, debug_alerts=False)
|
proxy=proxy,
|
||||||
|
debug_alerts=False)
|
||||||
|
|
||||||
|
|
||||||
while not option['storage_dir']:
|
while not option['storage_dir']:
|
||||||
|
|
Loading…
Reference in New Issue