summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-06 02:11:39 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-06 02:11:39 +0100
commit209eafa08ae9bd45b378a0edf7e32b7bc4e73482 (patch)
treec2f8c29668f5aa88c684f727a909ccf28530b12d /module/plugins/hoster
parentMerge pull request #949 from Guidobelix/Juno2 (diff)
downloadpyload-209eafa08ae9bd45b378a0edf7e32b7bc4e73482.tar.xz
[DebridItaliaCom] Typo fixup
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/DebridItaliaCom.py8
1 files 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")