diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-07 00:27:18 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-07 00:27:18 +0100 |
commit | 67587fbe0335cacfde28a86ba729b9d567ce1da7 (patch) | |
tree | 090ea3a41894437ce619fe06304508479ace6ab6 /module/plugins/hooks/UnrestrictLi.py | |
parent | Plugin code cosmetics (2) (diff) | |
download | pyload-67587fbe0335cacfde28a86ba729b9d567ce1da7.tar.xz |
Plugin code cosmetics (3)
Diffstat (limited to 'module/plugins/hooks/UnrestrictLi.py')
-rw-r--r-- | module/plugins/hooks/UnrestrictLi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/UnrestrictLi.py b/module/plugins/hooks/UnrestrictLi.py index 295cfaf5a..d87265ef4 100644 --- a/module/plugins/hooks/UnrestrictLi.py +++ b/module/plugins/hooks/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']] |