diff --git a/src/searchengine/nova2/engines/mininova.py b/src/searchengine/nova2/engines/mininova.py index cd69c2fe8..5bfd81f42 100644 --- a/src/searchengine/nova2/engines/mininova.py +++ b/src/searchengine/nova2/engines/mininova.py @@ -1,4 +1,4 @@ -#VERSION: 1.40 +#VERSION: 1.50 #AUTHORS: Christophe Dumez (chris@qbittorrent.org) # Redistribution and use in source and binary forms, with or without @@ -54,10 +54,13 @@ class mininova(object): def start_a(self, attr): params = dict(attr) #print params - if params.has_key('href') and params['href'].startswith("/get/"): - self.current_item = {} - self.td_counter = 0 - self.current_item['link']=self.url+params['href'].strip() + if params.has_key('href'): + if params['href'].startswith("/get/"): + self.current_item = {} + self.td_counter = 0 + self.current_item['link']=self.url+params['href'].strip() + elif params['href'].startswith("/tor/"): + self.current_item['desc_link']=self.url+params['href'].strip() def handle_data(self, data): if self.td_counter == 0: @@ -108,4 +111,4 @@ class mininova(object): if len(results) <= 0: break i += 1 - \ No newline at end of file + diff --git a/src/searchengine/nova2/engines/versions.txt b/src/searchengine/nova2/engines/versions.txt index 1f032d675..4b7091029 100644 --- a/src/searchengine/nova2/engines/versions.txt +++ b/src/searchengine/nova2/engines/versions.txt @@ -1,7 +1,7 @@ isohunt: 1.4 torrentreactor: 1.3 btjunkie: 2.31 -mininova: 1.40 +mininova: 1.50 piratebay: 1.40 vertor: 1.2 torrentdownloads: 1.1