Browse Source

Fix torrentreactor search plugin

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
05d9f28f8b
  1. 4
      src/search_engine/engines/torrentreactor.py
  2. 2
      src/search_engine/engines/versions.txt

4
src/search_engine/engines/torrentreactor.py

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#VERSION: 1.20
#VERSION: 1.21
#AUTHORS: Gekko Dam Beer (gekko04@users.sourceforge.net)
#CONTRIBUTORS: Christophe Dumez (chris@qbittorrent.org)
@ -49,7 +49,7 @@ class torrentreactor(object): @@ -49,7 +49,7 @@ class torrentreactor(object):
def start_a(self, attr):
params = dict(attr)
if params['href'].startswith('http://dl.torrentreactor.net/download.php'):
if 'torrentreactor.net/download.php' in params['href']:
self.current_item = {}
self.td_counter = 0
self.current_item['link'] = params['href'].strip()

2
src/search_engine/engines/versions.txt

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
isohunt: 1.31
torrentreactor: 1.20
torrentreactor: 1.21
btjunkie: 2.23
mininova: 1.40
piratebay: 1.30

Loading…
Cancel
Save