summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/DebridItaliaCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-23 13:29:12 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-23 13:29:12 +0200
commitc9b42f02f83a95d7741eee96247466d3b610b159 (patch)
treeba642be8eeb25233e83763aab2aa6227b31c7885 /module/plugins/hoster/DebridItaliaCom.py
parent[Dereferer] Don't preload (diff)
downloadpyload-c9b42f02f83a95d7741eee96247466d3b610b159.tar.xz
self.html -> self.data
Diffstat (limited to 'module/plugins/hoster/DebridItaliaCom.py')
-rw-r--r--module/plugins/hoster/DebridItaliaCom.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/hoster/DebridItaliaCom.py b/module/plugins/hoster/DebridItaliaCom.py
index 6dd01277c..39cc548d9 100644
--- a/module/plugins/hoster/DebridItaliaCom.py
+++ b/module/plugins/hoster/DebridItaliaCom.py
@@ -26,20 +26,20 @@ class DebridItaliaCom(MultiHoster):
def handle_premium(self, pyfile):
- self.html = self.load("http://www.debriditalia.com/api.php",
+ self.data = self.load("http://www.debriditalia.com/api.php",
get={'generate': "on", 'link': pyfile.url, 'p': self.get_password()})
- if "ERROR:" not in self.html:
- self.link = self.html
+ if "ERROR:" not in self.data:
+ self.link = self.data
else:
- self.info['error'] = re.search(r'ERROR:(.*)', self.html).group(1).strip()
+ self.info['error'] = re.search(r'ERROR:(.*)', self.data).group(1).strip()
- self.html = self.load("http://debriditalia.com/linkgen2.php",
+ self.data = self.load("http://debriditalia.com/linkgen2.php",
post={'xjxfun' : "convertiLink",
'xjxargs[]': "S<![CDATA[%s]]>" % pyfile.url,
'xjxargs[]': "S%s" % self.get_password()})
try:
- self.link = re.search(r'<a href="(.+?)"', self.html).group(1)
+ self.link = re.search(r'<a href="(.+?)"', self.data).group(1)
except AttributeError:
pass