Fix limetorrents (#129)

This commit is contained in:
Diego Heras 2020-03-22 20:46:07 +01:00 committed by GitHub
parent 56b5430aed
commit 2878c0d259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
#VERSION: 4.03
#VERSION: 4.04
# AUTHORS: Lima66
# CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es)
@ -22,7 +22,7 @@ ssl._create_default_https_context = ssl._create_unverified_context
class limetorrents(object):
url = "https://www.limetorrents.info"
url = "https://limetor.com"
name = "LimeTorrents"
supported_categories = {'all': 'all',
'anime': 'anime',
@ -123,7 +123,7 @@ class limetorrents(object):
parser = self.MyHtmlParser(self.url)
page = 1
while True:
page_url = "{0}/search/{1}/{2}/seeds/{3}".format(self.url, category, query, page)
page_url = "{0}/search/{1}/{2}/seeds/{3}/".format(self.url, category, query, page)
html = retrieve_url(page_url)
lunghezza_html = len(html)
if page > 6 or lunghezza_html <= parser.page_empty:

View File

@ -2,7 +2,7 @@ eztv: 1.10
jackett: 3.03
leetx: 2.01
legittorrents: 2.03
limetorrents: 4.03
limetorrents: 4.04
piratebay: 2.20
rarbg: 2.11
torlock: 2.1

View File

@ -1,4 +1,4 @@
#VERSION: 4.03
#VERSION: 4.04
# AUTHORS: Lima66
# CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es)
@ -22,7 +22,7 @@ ssl._create_default_https_context = ssl._create_unverified_context
class limetorrents(object):
url = "https://www.limetorrents.info"
url = "https://limetor.com"
name = "LimeTorrents"
supported_categories = {'all': 'all',
'anime': 'anime',
@ -123,7 +123,7 @@ class limetorrents(object):
parser = self.MyHtmlParser(self.url)
page = 1
while True:
page_url = "{0}/search/{1}/{2}/seeds/{3}".format(self.url, category, query, page)
page_url = "{0}/search/{1}/{2}/seeds/{3}/".format(self.url, category, query, page)
html = retrieve_url(page_url)
lunghezza_html = len(html)
if page > 6 or lunghezza_html <= parser.page_empty:

View File

@ -2,7 +2,7 @@ eztv: 1.10
jackett: 3.03
leetx: 2.01
legittorrents: 2.03
limetorrents: 4.03
limetorrents: 4.04
piratebay: 2.20
rarbg: 2.11
torlock: 2.1