diff options
author | 2013-11-17 16:16:18 +0100 | |
---|---|---|
committer | 2013-11-17 16:16:18 +0100 | |
commit | 0ffa48c8d47d5868e5b9948d2a594f0a5280c064 (patch) | |
tree | b60557cc73f5f85e7d7cb52a1c8ffec23bfd3c55 /pyload/plugins/accounts/ZeveraCom.py | |
parent | Merge remote-tracking branch 'origin/stable' (diff) | |
download | pyload-0ffa48c8d47d5868e5b9948d2a594f0a5280c064.tar.xz |
restored multihoster overwritten by merge
Diffstat (limited to 'pyload/plugins/accounts/ZeveraCom.py')
-rw-r--r-- | pyload/plugins/accounts/ZeveraCom.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pyload/plugins/accounts/ZeveraCom.py b/pyload/plugins/accounts/ZeveraCom.py index 13ed95133..8f05f1d76 100644 --- a/pyload/plugins/accounts/ZeveraCom.py +++ b/pyload/plugins/accounts/ZeveraCom.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- from time import mktime, strptime -from module.plugins.Account import Account +from pyload.plugins.MultiHoster import MultiHoster -class ZeveraCom(Account): +class ZeveraCom(MultiHoster): __name__ = "ZeveraCom" __version__ = "0.21" __type__ = "account" @@ -49,3 +49,7 @@ class ZeveraCom(Account): [x.split(':', 1) for x in response.splitlines() if ':' in x]) else: return response + + def loadHosterList(self, req): + page = req.load("http://www.zevera.com/jDownloader.ashx?cmd=gethosters") + return [x.strip() for x in page.replace("\"", "").split(",")] |