summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/RehostToHook.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/RehostToHook.py
parent[SimpleHoster] fixurl (diff)
downloadpyload-c1764e2fea0bb05164c83a876e8cd58b97f58f25.tar.xz
Update all
Diffstat (limited to 'module/plugins/hooks/RehostToHook.py')
-rw-r--r--module/plugins/hooks/RehostToHook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/RehostToHook.py b/module/plugins/hooks/RehostToHook.py
index a2415129a..febad818a 100644
--- a/module/plugins/hooks/RehostToHook.py
+++ b/module/plugins/hooks/RehostToHook.py
@@ -21,7 +21,7 @@ class RehostToHook(MultiHook):
def getHosters(self):
user, data = self.account.selectAccount()
- html = self.getURL("http://rehost.to/api.php",
+ html = self.load("http://rehost.to/api.php",
get={'cmd' : "get_supported_och_dl",
'long_ses': self.account.getAccountInfo(user)['session']})
return [x.strip() for x in html.replace("\"", "").split(",")]