summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/PremiumToHook.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-16 17:31:38 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-24 22:40:32 +0200
commitc1764e2fea0bb05164c83a876e8cd58b97f58f25 (patch)
treebe1af8dbf5542d93f1cb97f07dd1793fc7acc2df /module/plugins/hooks/PremiumToHook.py
parent[SimpleHoster] fixurl (diff)
downloadpyload-c1764e2fea0bb05164c83a876e8cd58b97f58f25.tar.xz
Update all
Diffstat (limited to 'module/plugins/hooks/PremiumToHook.py')
-rw-r--r--module/plugins/hooks/PremiumToHook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/PremiumToHook.py b/module/plugins/hooks/PremiumToHook.py
index 11f0f3c8a..63e3c72c8 100644
--- a/module/plugins/hooks/PremiumToHook.py
+++ b/module/plugins/hooks/PremiumToHook.py
@@ -23,6 +23,6 @@ class PremiumToHook(MultiHook):
def getHosters(self):
user, data = self.account.selectAccount()
- html = self.getURL("http://premium.to/api/hosters.php",
+ html = self.load("http://premium.to/api/hosters.php",
get={'username': user, 'password': data['password']})
return [x.strip() for x in html.replace("\"", "").split(";")]