summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/accounts/ZeveraCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/accounts/ZeveraCom.py')
-rw-r--r--pyload/plugins/accounts/ZeveraCom.py8
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(",")]