Browse Source

Use AND search for torrentreactor

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
450c1fc124
  1. 4
      src/searchengine/nova/engines/torrentreactor.py
  2. 2
      src/searchengine/nova/engines/versions.txt

4
src/searchengine/nova/engines/torrentreactor.py

@ -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:

2
src/searchengine/nova/engines/versions.txt

@ -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

Loading…
Cancel
Save