From 209eafa08ae9bd45b378a0edf7e32b7bc4e73482 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 6 Dec 2014 02:11:39 +0100 Subject: [DebridItaliaCom] Typo fixup --- module/plugins/hoster/DebridItaliaCom.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module/plugins/hoster/DebridItaliaCom.py b/module/plugins/hoster/DebridItaliaCom.py index 90f1233ff..cb5d4c06a 100644 --- a/module/plugins/hoster/DebridItaliaCom.py +++ b/module/plugins/hoster/DebridItaliaCom.py @@ -9,7 +9,7 @@ from module.plugins.internal.SimpleHoster import replace_patterns class DebridItaliaCom(Hoster): __name__ = "DebridItaliaCom" __type__ = "hoster" - __version__ = "0.06" + __version__ = "0.07" __pattern__ = r'http://s\d+\.debriditalia\.com/dl/\d+' @@ -41,13 +41,13 @@ class DebridItaliaCom(Hoster): html = self.load("http://www.debriditalia.com/api.php?generate=&link=%s" % pyfile.url) if "ERROR" in html: - self.fail(re.search(r'ERROR:(.*)', html).split()) + self.fail(re.search(r'ERROR:(.*)', html).strip()) - link = html.split() + link = html.strip() self.download(link, disposition=True) - check = self.checkDownload({'empty': re.compile(r"^$")}) + check = self.checkDownload({'empty': re.compile(r'^$')}) if check == "empty": self.retry(5, 2 * 60, "Empty file downloaded") -- cgit v1.2.3