From ddf5779756c862aaa253e2263fe0dfa768d153a1 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 26 Dec 2010 10:17:37 +0000 Subject: [PATCH] Ported torrentdownloads plugin to the new API --- src/searchengine/nova2/engines/torrentdownloads.py | 3 ++- src/searchengine/nova2/engines/versions.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/searchengine/nova2/engines/torrentdownloads.py b/src/searchengine/nova2/engines/torrentdownloads.py index beb68c16b..0d0b79591 100644 --- a/src/searchengine/nova2/engines/torrentdownloads.py +++ b/src/searchengine/nova2/engines/torrentdownloads.py @@ -1,4 +1,4 @@ -#VERSION: 1.06 +#VERSION: 1.1 #AUTHORS: Christophe Dumez (chris@qbittorrent.org) # Redistribution and use in source and binary forms, with or without @@ -81,6 +81,7 @@ class torrentdownloads(object): if params.has_key('href') and params['href'].startswith("http://www.torrentdownloads.net/torrent/"): self.current_item = {} self.li_counter = 0 + self.current_item['desc_link'] = params['href'].strip() self.current_item['link']=params['href'].strip().replace('/torrent', '/download', 1) def handle_data(self, data): diff --git a/src/searchengine/nova2/engines/versions.txt b/src/searchengine/nova2/engines/versions.txt index 6ebac93d5..1f032d675 100644 --- a/src/searchengine/nova2/engines/versions.txt +++ b/src/searchengine/nova2/engines/versions.txt @@ -4,4 +4,4 @@ btjunkie: 2.31 mininova: 1.40 piratebay: 1.40 vertor: 1.2 -torrentdownloads: 1.06 +torrentdownloads: 1.1