From 520bacdf8857068a54428ee34bc6899ebd25f8d8 Mon Sep 17 00:00:00 2001 From: ngosang Date: Mon, 28 Jan 2019 19:41:19 +0100 Subject: [PATCH] Fix Limetorrents search plugin in Windows --- nova/engines/limetorrents.py | 6 +++++- nova/engines/versions.txt | 2 +- nova3/engines/limetorrents.py | 6 +++++- nova3/engines/versions.txt | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/nova/engines/limetorrents.py b/nova/engines/limetorrents.py index 7b3598f..a0d3075 100644 --- a/nova/engines/limetorrents.py +++ b/nova/engines/limetorrents.py @@ -1,4 +1,4 @@ -#VERSION: 4.00 +#VERSION: 4.01 # AUTHORS: Lima66 # CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es) @@ -14,6 +14,10 @@ except ImportError: from novaprinter import prettyPrinter from helpers import retrieve_url +# Fix invalid certificate in Windows +import ssl +ssl._create_default_https_context = ssl._create_unverified_context + class limetorrents(object): url = "https://www.limetorrents.info" diff --git a/nova/engines/versions.txt b/nova/engines/versions.txt index f7f76ef..7502644 100644 --- a/nova/engines/versions.txt +++ b/nova/engines/versions.txt @@ -2,7 +2,7 @@ eztv: 1.01 jackett: 2.00 leetx: 2.00 legittorrents: 2.03 -limetorrents: 4.00 +limetorrents: 4.01 piratebay: 2.18 rarbg: 2.00 torlock: 2.1 diff --git a/nova3/engines/limetorrents.py b/nova3/engines/limetorrents.py index 7b3598f..a0d3075 100644 --- a/nova3/engines/limetorrents.py +++ b/nova3/engines/limetorrents.py @@ -1,4 +1,4 @@ -#VERSION: 4.00 +#VERSION: 4.01 # AUTHORS: Lima66 # CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es) @@ -14,6 +14,10 @@ except ImportError: from novaprinter import prettyPrinter from helpers import retrieve_url +# Fix invalid certificate in Windows +import ssl +ssl._create_default_https_context = ssl._create_unverified_context + class limetorrents(object): url = "https://www.limetorrents.info" diff --git a/nova3/engines/versions.txt b/nova3/engines/versions.txt index f7f76ef..7502644 100644 --- a/nova3/engines/versions.txt +++ b/nova3/engines/versions.txt @@ -2,7 +2,7 @@ eztv: 1.01 jackett: 2.00 leetx: 2.00 legittorrents: 2.03 -limetorrents: 4.00 +limetorrents: 4.01 piratebay: 2.18 rarbg: 2.00 torlock: 2.1