From 646c6b6e6482d8c76f70dfecdd199f51f7cf8cdc Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 9 Jan 2013 19:16:44 +0200 Subject: [PATCH] Fix torrentreactor engine plugin --- src/searchengine/nova/engines/torrentreactor.py | 4 ++-- src/searchengine/nova3/engines/torrentreactor.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/searchengine/nova/engines/torrentreactor.py b/src/searchengine/nova/engines/torrentreactor.py index 2f1e5a235..66a7f88be 100644 --- a/src/searchengine/nova/engines/torrentreactor.py +++ b/src/searchengine/nova/engines/torrentreactor.py @@ -1,4 +1,4 @@ -#VERSION: 1.31 +#VERSION: 1.32 #AUTHORS: Gekko Dam Beer (gekko04@users.sourceforge.net) #CONTRIBUTORS: Christophe Dumez (chris@qbittorrent.org) @@ -99,7 +99,7 @@ class torrentreactor(object): while True and i<11: results = [] parser = self.SimpleSGMLParser(results, self.url) - dat = retrieve_url(self.url+'/search.php?search=&words=%s&cid=%s&sid=&type=1&orderby=a.seeds&asc=0&skip=%s'%(what, self.supported_categories[cat], (i*35))) + dat = retrieve_url(self.url+'/ts.php?search=&words=%s&cid=%s&sid=&type=1&orderby=a.seeds&asc=0&skip=%s'%(what, self.supported_categories[cat], (i*35))) parser.feed(dat) parser.close() if len(results) <= 0: diff --git a/src/searchengine/nova3/engines/torrentreactor.py b/src/searchengine/nova3/engines/torrentreactor.py index 41ebe0139..7940e1873 100644 --- a/src/searchengine/nova3/engines/torrentreactor.py +++ b/src/searchengine/nova3/engines/torrentreactor.py @@ -1,4 +1,4 @@ -#VERSION: 1.31 +#VERSION: 1.32 #AUTHORS: Gekko Dam Beer (gekko04@users.sourceforge.net) #CONTRIBUTORS: Christophe Dumez (chris@qbittorrent.org) @@ -99,7 +99,7 @@ class torrentreactor(object): while True and i<11: results = [] parser = self.SimpleSGMLParser(results, self.url) - dat = retrieve_url(self.url+'/search.php?search=&words=%s&cid=%s&sid=&type=1&orderby=a.seeds&asc=0&skip=%s'%(what, self.supported_categories[cat], (i*35))) + dat = retrieve_url(self.url+'/ts.php?search=&words=%s&cid=%s&sid=&type=1&orderby=a.seeds&asc=0&skip=%s'%(what, self.supported_categories[cat], (i*35))) parser.feed(dat) parser.close() if len(results) <= 0: