From 6a16ca31a2d93b4a17cb05b23c18716534b6e4cf Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 8 Jan 2013 21:51:51 +0200 Subject: [PATCH] Really use HTTPS link for isohunt engine --- src/searchengine/nova/engines/isohunt.py | 6 +++--- src/searchengine/nova3/engines/isohunt.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/searchengine/nova/engines/isohunt.py b/src/searchengine/nova/engines/isohunt.py index 8bde55f16..3434059d4 100644 --- a/src/searchengine/nova/engines/isohunt.py +++ b/src/searchengine/nova/engines/isohunt.py @@ -1,4 +1,4 @@ -#VERSION: 1.41 +#VERSION: 1.42 #AUTHORS: Christophe Dumez (chris@qbittorrent.org) # Redistribution and use in source and binary forms, with or without @@ -60,8 +60,8 @@ class isohunt(object): torrent_infos['name'] = re.sub('<.*?>', '', torrent_infos['name']) torrent_infos['engine_url'] = self.url torrent_code = torrent_infos['link'] - torrent_infos['link'] = 'http://isohunt.com/download/'+torrent_code - torrent_infos['desc_link'] = 'http://isohunt.com/torrent_details/'+torrent_code+'/dvdrip?tab=summary' + torrent_infos['link'] = self.url + '/download/' + torrent_code + torrent_infos['desc_link'] = self.url + '/torrent_details/' + torrent_code + '/dvdrip?tab=summary' prettyPrinter(torrent_infos) res = res + 1 if res == 0: diff --git a/src/searchengine/nova3/engines/isohunt.py b/src/searchengine/nova3/engines/isohunt.py index 6871c86ab..7267712fc 100644 --- a/src/searchengine/nova3/engines/isohunt.py +++ b/src/searchengine/nova3/engines/isohunt.py @@ -1,4 +1,4 @@ -#VERSION: 1.41 +#VERSION: 1.42 #AUTHORS: Christophe Dumez (chris@qbittorrent.org) # Redistribution and use in source and binary forms, with or without @@ -60,8 +60,8 @@ class isohunt(object): torrent_infos['name'] = re.sub('<.*?>', '', torrent_infos['name']) torrent_infos['engine_url'] = self.url torrent_code = torrent_infos['link'] - torrent_infos['link'] = 'http://isohunt.com/download/'+torrent_code - torrent_infos['desc_link'] = 'http://isohunt.com/torrent_details/'+torrent_code+'/dvdrip?tab=summary' + torrent_infos['link'] = self.url + '/download/' + torrent_code + torrent_infos['desc_link'] = self.url + '/torrent_details/' + torrent_code + '/dvdrip?tab=summary' prettyPrinter(torrent_infos) res = res + 1 if res == 0: