summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hook/UnrestrictLi.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hook/UnrestrictLi.py')
-rw-r--r--pyload/plugins/hook/UnrestrictLi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/hook/UnrestrictLi.py b/pyload/plugins/hook/UnrestrictLi.py
index cfe580048..255cee43d 100644
--- a/pyload/plugins/hook/UnrestrictLi.py
+++ b/pyload/plugins/hook/UnrestrictLi.py
@@ -22,7 +22,7 @@ class UnrestrictLi(MultiHoster):
def getHoster(self):
- json_data = getURL('http://unrestrict.li/api/jdownloader/hosts.php?format=json')
+ json_data = getURL("http://unrestrict.li/api/jdownloader/hosts.php", get={'format': "json"})
json_data = json_loads(json_data)
host_list = [element['host'] for element in json_data['result']]