summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/accounts/ZeveraCom.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-30 21:35:28 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-30 21:35:28 +0200
commita77153c34be3d230d3e80153e57cfef933968ed9 (patch)
treea05b5d67b1d338ab6ed98db1b2ea3f443c0fbcfa /pyload/plugins/accounts/ZeveraCom.py
parentPutlocker: allow multiDL and chunked downloads even in free downloads (diff)
downloadpyload-a77153c34be3d230d3e80153e57cfef933968ed9.tar.xz
Adapted 6 multi hoster plugins
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(",")]