summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/SimplydebridCom.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/SimplydebridCom.py
parent[Dereferer] Don't preload (diff)
downloadpyload-c9b42f02f83a95d7741eee96247466d3b610b159.tar.xz
self.html -> self.data
Diffstat (limited to 'module/plugins/hoster/SimplydebridCom.py')
-rw-r--r--module/plugins/hoster/SimplydebridCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/SimplydebridCom.py b/module/plugins/hoster/SimplydebridCom.py
index e76b7afa0..12ab8a395 100644
--- a/module/plugins/hoster/SimplydebridCom.py
+++ b/module/plugins/hoster/SimplydebridCom.py
@@ -34,11 +34,11 @@ class SimplydebridCom(MultiHoster):
if 'fileparadox' in self.link:
self.link = self.link.replace("http://", "https://")
- self.html = self.load("http://simply-debrid.com/api.php", get={'dl': self.link})
- if 'tiger Link' in self.html or 'Invalid Link' in self.html or ('API' in self.html and 'ERROR' in self.html):
+ self.data = self.load("http://simply-debrid.com/api.php", get={'dl': self.link})
+ if 'tiger Link' in self.data or 'Invalid Link' in self.data or ('API' in self.data and 'ERROR' in self.data):
self.error(_("Unable to unrestrict link"))
- self.link = self.html
+ self.link = self.data
self.wait(5)