diff options
author | 2014-10-19 15:19:37 +0200 | |
---|---|---|
committer | 2014-10-19 15:19:37 +0200 | |
commit | bb68489d85d3aae3d050a8d198f6615aed379690 (patch) | |
tree | 852bda38cfece83b6d868379a6d0e8c43bda95aa /module/plugins/hoster/UnrestrictLi.py | |
parent | Update other plugins to support self.error (diff) | |
download | pyload-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.py | 4 |
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 |