From f0edd7dcf7d8654016e854d25c06839a51efb2ea Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Fri, 31 Aug 2007 16:39:29 +0000 Subject: [PATCH] - Added multipage support for mininova --- src/search_engine/engines/mininova.py | 54 +++++++++++++++----------- src/search_engine/engines/versions.txt | 2 +- 2 files changed, 32 insertions(+), 24 deletions(-) diff --git a/src/search_engine/engines/mininova.py b/src/search_engine/engines/mininova.py index 5f03cbbe0..0cccd478e 100644 --- a/src/search_engine/engines/mininova.py +++ b/src/search_engine/engines/mininova.py @@ -1,4 +1,4 @@ -#VERSION: 1.00 +#VERSION: 1.10 #AUTHORS: Fabien Devaux (fab@gnux.info) from novaprinter import prettyPrinter import urllib @@ -26,25 +26,33 @@ class mininova(object): return txt.toxml() else: return ''.join([ get_text(n) for n in txt.childNodes]) - dat = urllib.urlopen(self.url+'/search/%s/seeds'%(what,)).read().decode('utf-8', 'replace') - dat = re.sub("