Use AND search for torrentreactor

This commit is contained in:
Christophe Dumez 2011-04-10 11:28:52 +00:00
parent 493d6ce702
commit 450c1fc124
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
#VERSION: 1.3 #VERSION: 1.31
#AUTHORS: Gekko Dam Beer (gekko04@users.sourceforge.net) #AUTHORS: Gekko Dam Beer (gekko04@users.sourceforge.net)
#CONTRIBUTORS: Christophe Dumez (chris@qbittorrent.org) #CONTRIBUTORS: Christophe Dumez (chris@qbittorrent.org)
@ -99,7 +99,7 @@ class torrentreactor(object):
while True and i<11: while True and i<11:
results = [] results = []
parser = self.SimpleSGMLParser(results, self.url) parser = self.SimpleSGMLParser(results, self.url)
dat = retrieve_url(self.url+'/search.php?search=&words=%s&cid=%s&sid=&type=2&orderby=a.seeds&asc=0&skip=%s'%(what, self.supported_categories[cat], (i*35))) 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)))
parser.feed(dat) parser.feed(dat)
parser.close() parser.close()
if len(results) <= 0: if len(results) <= 0:

View file

@ -1,5 +1,5 @@
isohunt: 1.4 isohunt: 1.4
torrentreactor: 1.3 torrentreactor: 1.31
btjunkie: 2.31 btjunkie: 2.31
mininova: 1.50 mininova: 1.50
piratebay: 1.40 piratebay: 1.40