add support for getright style webseeds

This commit is contained in:
j 2010-06-10 14:53:30 +02:00
parent 1c695133c3
commit a41dfb43ca

View file

@ -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()