summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UnrestrictLi.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-19 15:19:37 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-19 15:19:37 +0200
commitbb68489d85d3aae3d050a8d198f6615aed379690 (patch)
tree852bda38cfece83b6d868379a6d0e8c43bda95aa /module/plugins/hoster/UnrestrictLi.py
parentUpdate other plugins to support self.error (diff)
downloadpyload-bb68489d85d3aae3d050a8d198f6615aed379690.tar.xz
Change some self.req.load to self.load
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