Fix Limetorrents encoding (part 2) (#113)
This commit is contained in:
parent
a12f44bdca
commit
33b7a4be71
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue