diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-08-02 07:15:28 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-08-02 07:15:28 +0200 |
commit | 21cf50c60a794b5ca7d54408b590f74d4567ca79 (patch) | |
tree | 0d5917331b67a52e4bc27f8fc7c024d02de6b1ee /module/plugins/hooks/FreeWayMeHook.py | |
parent | Fix https://github.com/pyload/pyload/issues/1646 (diff) | |
download | pyload-21cf50c60a794b5ca7d54408b590f74d4567ca79.tar.xz |
Update some plugins
Diffstat (limited to 'module/plugins/hooks/FreeWayMeHook.py')
-rw-r--r-- | module/plugins/hooks/FreeWayMeHook.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/module/plugins/hooks/FreeWayMeHook.py b/module/plugins/hooks/FreeWayMeHook.py index 5f30d70fc..1380433bf 100644 --- a/module/plugins/hooks/FreeWayMeHook.py +++ b/module/plugins/hooks/FreeWayMeHook.py @@ -6,7 +6,7 @@ from module.plugins.internal.MultiHook import MultiHook class FreeWayMeHook(MultiHook): __name__ = "FreeWayMeHook" __type__ = "hook" - __version__ = "0.17" + __version__ = "0.18" __status__ = "testing" __config__ = [("pluginmode" , "all;listed;unlisted", "Use for plugins" , "all"), @@ -20,6 +20,9 @@ class FreeWayMeHook(MultiHook): def get_hosters(self): - user, data = self.account.select() - hostis = self.load("http://www.free-way.bz/ajax/jd.php", get={'id': 3, 'user': user, 'pass': data['password']}).replace("\"", "") #@TODO: Revert to `https` in 0.4.10 + user, info = self.account.select() + hostis = self.load("http://www.free-way.bz/ajax/jd.php", + get={'id' : 3, + 'user': user, + 'pass': info['login']['password']}).replace("\"", "") #@TODO: Revert to `https` in 0.4.10 return [x.strip() for x in hostis.split(",") if x.strip()] |