summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/RehostToHook.py
diff options
context:
space:
mode:
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(",")]