Ported the torrentreactor plugin to the new API

This commit is contained in:
Christophe Dumez 2010-12-26 10:09:06 +00:00
parent 694f7b172a
commit 57c1df1d1e
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#VERSION: 1.21
#VERSION: 1.3
#AUTHORS: Gekko Dam Beer (gekko04@users.sourceforge.net)
#CONTRIBUTORS: Christophe Dumez (chris@qbittorrent.org)
@ -53,6 +53,8 @@ class torrentreactor(object):
self.current_item = {}
self.td_counter = 0
self.current_item['link'] = params['href'].strip()
elif params['href'].startswith('/torrents/'):
self.current_item['desc_link'] = 'http://www.torrentreactor.net'+params['href'].strip()
def handle_data(self, data):
if self.td_counter == 0:

View file

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