From a41dfb43ca954a597fb752cb5807c637399d8e69 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 10 Jun 2010 14:53:30 +0200 Subject: [PATCH] add support for getright style webseeds --- oxlib/torrent/makemetafile.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/oxlib/torrent/makemetafile.py b/oxlib/torrent/makemetafile.py index 77798fb..1506f69 100644 --- a/oxlib/torrent/makemetafile.py +++ b/oxlib/torrent/makemetafile.py @@ -121,6 +121,9 @@ def make_meta_file(file, url, params = {}, flag = Event(), data['httpseeds'] = params['real_httpseeds'] elif params.has_key('httpseeds') and params['httpseeds']: 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.close()