summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/AlldebridComHook.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/AlldebridComHook.py')
-rw-r--r--module/plugins/hooks/AlldebridComHook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/AlldebridComHook.py b/module/plugins/hooks/AlldebridComHook.py
index 092921134..c55f013a4 100644
--- a/module/plugins/hooks/AlldebridComHook.py
+++ b/module/plugins/hooks/AlldebridComHook.py
@@ -22,6 +22,6 @@ class AlldebridComHook(MultiHook):
def getHosters(self):
https = "https" if self.getConfig('ssl') else "http"
- html = self.getURL(https + "://www.alldebrid.com/api.php", get={'action': "get_host"}).replace("\"", "").strip()
+ html = self.load(https + "://www.alldebrid.com/api.php", get={'action': "get_host"}).replace("\"", "").strip()
return [x.strip() for x in html.split(",") if x.strip()]