From bb68489d85d3aae3d050a8d198f6615aed379690 Mon Sep 17 00:00:00 2001
From: Walter Purcaro <vuolter@gmail.com>
Date: Sun, 19 Oct 2014 15:19:37 +0200
Subject: Change some self.req.load to self.load

---
 module/plugins/hoster/MyfastfileCom.py | 6 +++---
 module/plugins/hoster/PornhubCom.py    | 2 +-
 module/plugins/hoster/UnrestrictLi.py  | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

(limited to 'module/plugins')

diff --git a/module/plugins/hoster/MyfastfileCom.py b/module/plugins/hoster/MyfastfileCom.py
index 466bb95e8..8fbae3e0a 100644
--- a/module/plugins/hoster/MyfastfileCom.py
+++ b/module/plugins/hoster/MyfastfileCom.py
@@ -30,9 +30,9 @@ class MyfastfileCom(Hoster):
             self.fail("No Myfastfile.com account provided")
         else:
             self.logDebug("Original URL: %s" % pyfile.url)
-            page = self.req.load('http://myfastfile.com/api.php',
-                                 get={'user': self.user, 'pass': self.account.getAccountData(self.user)['password'],
-                                      'link': pyfile.url})
+            page = self.load('http://myfastfile.com/api.php',
+                             get={'user': self.user, 'pass': self.account.getAccountData(self.user)['password'],
+                                  'link': pyfile.url})
             self.logDebug("JSON data: " + page)
             page = json_loads(page)
             if page['status'] != 'ok':
diff --git a/module/plugins/hoster/PornhubCom.py b/module/plugins/hoster/PornhubCom.py
index fad915fb1..60b57d2c8 100644
--- a/module/plugins/hoster/PornhubCom.py
+++ b/module/plugins/hoster/PornhubCom.py
@@ -44,7 +44,7 @@ class PornhubCom(Hoster):
         post_data += "\x02\x00\x02\x2d\x31\x02\x00\x20"
         post_data += "add299463d4410c6d1b1c418868225f7"
 
-        content = self.req.load(url, post=str(post_data))
+        content = self.load(url, post=str(post_data))
 
         new_content = ""
         for x in content:
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
-- 
cgit v1.2.3