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

@ -122,6 +122,9 @@ def make_meta_file(file, url, params = {}, flag = Event(),
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()