diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-16 17:31:38 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-24 22:40:32 +0200 |
commit | c1764e2fea0bb05164c83a876e8cd58b97f58f25 (patch) | |
tree | be1af8dbf5542d93f1cb97f07dd1793fc7acc2df /module/plugins/hooks/SimplyPremiumComHook.py | |
parent | [SimpleHoster] fixurl (diff) | |
download | pyload-c1764e2fea0bb05164c83a876e8cd58b97f58f25.tar.xz |
Update all
Diffstat (limited to 'module/plugins/hooks/SimplyPremiumComHook.py')
-rw-r--r-- | module/plugins/hooks/SimplyPremiumComHook.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/SimplyPremiumComHook.py b/module/plugins/hooks/SimplyPremiumComHook.py index 116e3a76e..e211abd30 100644 --- a/module/plugins/hooks/SimplyPremiumComHook.py +++ b/module/plugins/hooks/SimplyPremiumComHook.py @@ -21,7 +21,7 @@ class SimplyPremiumComHook(MultiHook): def getHosters(self): - json_data = self.getURL("http://www.simply-premium.com/api/hosts.php", get={'format': "json", 'online': 1}) + json_data = self.load("http://www.simply-premium.com/api/hosts.php", get={'format': "json", 'online': 1}) json_data = json_loads(json_data) host_list = [element['regex'] for element in json_data['result']] |