Fix Limetorrents encoding (part 2) (#113)

This commit is contained in:
Diego Heras 2019-09-22 15:05:39 +02:00 committed by GitHub
parent a12f44bdca
commit 33b7a4be71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#VERSION: 4.02
#VERSION: 4.03
# AUTHORS: Lima66
# CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es)
@ -76,7 +76,10 @@ class limetorrents(object):
self.current_item["engine_url"] = self.url
self.item_name = "name"
elif link.endswith(".html"):
safe_link = quote(self.url + link, safe='/:')
try:
safe_link = quote(self.url + link, safe='/:')
except KeyError:
safe_link = self.url + link
self.current_item["link"] = safe_link
self.current_item["desc_link"] = safe_link

View File

@ -3,7 +3,7 @@ eztv: 1.10
jackett: 3.02
leetx: 2.00
legittorrents: 2.03
limetorrents: 4.02
limetorrents: 4.03
piratebay: 2.20
rarbg: 2.11
torlock: 2.1

View File

@ -1,4 +1,4 @@
#VERSION: 4.02
#VERSION: 4.03
# AUTHORS: Lima66
# CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es)
@ -76,7 +76,10 @@ class limetorrents(object):
self.current_item["engine_url"] = self.url
self.item_name = "name"
elif link.endswith(".html"):
safe_link = quote(self.url + link, safe='/:')
try:
safe_link = quote(self.url + link, safe='/:')
except KeyError:
safe_link = self.url + link
self.current_item["link"] = safe_link
self.current_item["desc_link"] = safe_link

View File

@ -3,7 +3,7 @@ eztv: 1.10
jackett: 3.02
leetx: 2.00
legittorrents: 2.03
limetorrents: 4.02
limetorrents: 4.03
piratebay: 2.20
rarbg: 2.11
torlock: 2.1