summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UnrestrictLi.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/UnrestrictLi.py')
-rw-r--r--module/plugins/hoster/UnrestrictLi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/UnrestrictLi.py b/module/plugins/hoster/UnrestrictLi.py
index 0cd8e315f..2acb7816d 100644
--- a/module/plugins/hoster/UnrestrictLi.py
+++ b/module/plugins/hoster/UnrestrictLi.py
@@ -43,8 +43,8 @@ class UnrestrictLi(Hoster):
else:
self.logDebug("Old URL: %s" % pyfile.url)
for _ in xrange(5):
- page = self.req.load('https://unrestrict.li/unrestrict.php',
- post={'link': pyfile.url, 'domain': 'long'})
+ page = self.load('https://unrestrict.li/unrestrict.php',
+ post={'link': pyfile.url, 'domain': 'long'})
self.logDebug("JSON data: " + page)
if page != '':
break