diff options
author | 2012-08-15 00:14:28 +0200 | |
---|---|---|
committer | 2012-08-15 00:14:28 +0200 | |
commit | ebcf279308263ef8d228aa1c7aa83cb42efeda7e (patch) | |
tree | a80d32fb8a22a1bfc2a0a7d3221181e3bc9132d4 /module/plugins/hoster/ShareonlineBiz.py | |
parent | uploaded.to -> uploaded.net (diff) | |
download | pyload-ebcf279308263ef8d228aa1c7aa83cb42efeda7e.tar.xz |
update dataport.cz
Diffstat (limited to 'module/plugins/hoster/ShareonlineBiz.py')
-rw-r--r-- | module/plugins/hoster/ShareonlineBiz.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/hoster/ShareonlineBiz.py b/module/plugins/hoster/ShareonlineBiz.py index a5885d54f..b40cd51dd 100644 --- a/module/plugins/hoster/ShareonlineBiz.py +++ b/module/plugins/hoster/ShareonlineBiz.py @@ -68,13 +68,15 @@ class ShareonlineBiz(Hoster): #web-download fallback removed - didn't work anyway else: self.handleFree() - + + """ check = self.checkDownload({"failure": re.compile(self.ERROR_INFO_PATTERN)}) if check == "failure": try: self.retry(reason = self.lastCheck.group(1).decode("utf8")) except: self.retry(reason = "Unknown error") + """ if self.api_data: self.check_data = {"size": int(self.api_data['size']), "md5": self.api_data['md5']} @@ -102,7 +104,7 @@ class ShareonlineBiz(Hoster): self.setWait(3) self.wait() - self.html = self.load("%s/free/" % self.pyfile.url, post={"dl_free":"1", "choice": "free"}, cookies = True, ref = True) + self.html = self.load("%s/free/" % self.pyfile.url, post={"dl_free":"1", "choice": "free"}, decode = True) self.checkErrors() found = re.search(r'var wait=(\d+);', self.html) |