add support for getright style webseeds
This commit is contained in:
parent
1c695133c3
commit
a41dfb43ca
1 changed files with 3 additions and 0 deletions
|
@ -121,6 +121,9 @@ def make_meta_file(file, url, params = {}, flag = Event(),
|
||||||
data['httpseeds'] = params['real_httpseeds']
|
data['httpseeds'] = params['real_httpseeds']
|
||||||
elif params.has_key('httpseeds') and params['httpseeds']:
|
elif params.has_key('httpseeds') and params['httpseeds']:
|
||||||
data['httpseeds'] = params['httpseeds'].split('|')
|
data['httpseeds'] = params['httpseeds'].split('|')
|
||||||
|
|
||||||
|
if params.has_key('url-list') and params['url-list']:
|
||||||
|
data['url-list'] = params['url-list'].split('|')
|
||||||
|
|
||||||
h.write(bencode(data))
|
h.write(bencode(data))
|
||||||
h.close()
|
h.close()
|
||||||
|
|
Loading…
Reference in a new issue