summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/ZeveraCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-10 19:49:37 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-10 19:49:37 +0100
commite17f58459d8d4e57ed447823a988768bf09f2703 (patch)
tree62c393fd0aecd3dec4ea1d0eaaa8142e3146e44f /module/plugins/hoster/ZeveraCom.py
parent[RehostTo] Fix typo (2) (diff)
downloadpyload-e17f58459d8d4e57ed447823a988768bf09f2703.tar.xz
[ZeveraCom] Improve
Diffstat (limited to 'module/plugins/hoster/ZeveraCom.py')
-rw-r--r--module/plugins/hoster/ZeveraCom.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/module/plugins/hoster/ZeveraCom.py b/module/plugins/hoster/ZeveraCom.py
index 83ff16357..fb251142e 100644
--- a/module/plugins/hoster/ZeveraCom.py
+++ b/module/plugins/hoster/ZeveraCom.py
@@ -10,7 +10,7 @@ from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo
class ZeveraCom(MultiHoster):
__name__ = "ZeveraCom"
__type__ = "hoster"
- __version__ = "0.26"
+ __version__ = "0.27"
__pattern__ = r'https?://(?:www\.)zevera\.com/(getFiles\.ashx|Members/download\.ashx)\?.*ourl=.+'
@@ -21,12 +21,7 @@ class ZeveraCom(MultiHoster):
def handlePremium(self, pyfile):
- html = self.account.api_response(self.req, cmd="checklink", olink=pyfile.url)
- if "Alive" in html:
- header = self.account.api_response(self.req, just_header=True, cmd="generatedownloaddirect", olink=pyfile.url)
- self.link = self.directLink(header['location'])
- else:
- self.fail(re.search(r'Error: (.+)', html).group(1))
+ return "https://%s/getFiles.ashx?ourl=%s" % (self.account.HOSTER_DOMAIN, pyfile.url)
def checkFile(self):