From 8def5c5a1bf74ba3ed325000dcb9acbfedc8d4a5 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 26 Dec 2010 10:12:45 +0000 Subject: [PATCH] Ported vertor plugin to the new API --- src/searchengine/nova2/engines/versions.txt | 2 +- src/searchengine/nova2/engines/vertor.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/searchengine/nova2/engines/versions.txt b/src/searchengine/nova2/engines/versions.txt index 36da01442..6ebac93d5 100644 --- a/src/searchengine/nova2/engines/versions.txt +++ b/src/searchengine/nova2/engines/versions.txt @@ -3,5 +3,5 @@ torrentreactor: 1.3 btjunkie: 2.31 mininova: 1.40 piratebay: 1.40 -vertor: 1.1 +vertor: 1.2 torrentdownloads: 1.06 diff --git a/src/searchengine/nova2/engines/vertor.py b/src/searchengine/nova2/engines/vertor.py index ed6b0cb87..cc8d9de53 100755 --- a/src/searchengine/nova2/engines/vertor.py +++ b/src/searchengine/nova2/engines/vertor.py @@ -1,4 +1,4 @@ -#VERSION: 1.1 +#VERSION: 1.2 #AUTHORS: Christophe Dumez (chris@qbittorrent.org) # Redistribution and use in source and binary forms, with or without @@ -62,6 +62,7 @@ class vertor(object): self.current_item['link']=params['href'].strip() elif self.td_counter == 0 and params.has_key('href') and params['href'].startswith("/torrents/") \ and not self.current_item.has_key('name'): + self.current_item['desc_link']='http://www.vertor.com'+params['href'].strip() self.in_name = True def end_a(self): @@ -121,4 +122,4 @@ class vertor(object): if len(results) <= 0: break i += 1 - \ No newline at end of file +