diff options
author | 2015-08-02 07:15:28 +0200 | |
---|---|---|
committer | 2015-08-02 07:15:28 +0200 | |
commit | 21cf50c60a794b5ca7d54408b590f74d4567ca79 (patch) | |
tree | 0d5917331b67a52e4bc27f8fc7c024d02de6b1ee /module/plugins/hoster | |
parent | Fix https://github.com/pyload/pyload/issues/1646 (diff) | |
download | pyload-21cf50c60a794b5ca7d54408b590f74d4567ca79.tar.xz |
Update some plugins
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/CzshareCom.py | 6 | ||||
-rw-r--r-- | module/plugins/hoster/FastshareCz.py | 6 | ||||
-rw-r--r-- | module/plugins/hoster/FileserveCom.py | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/module/plugins/hoster/CzshareCom.py b/module/plugins/hoster/CzshareCom.py index 9432dcb3b..3d2de5f7f 100644 --- a/module/plugins/hoster/CzshareCom.py +++ b/module/plugins/hoster/CzshareCom.py @@ -12,7 +12,7 @@ from module.utils import parseFileSize as parse_size class CzshareCom(SimpleHoster): __name__ = "CzshareCom" __type__ = "hoster" - __version__ = "1.01" + __version__ = "1.02" __status__ = "testing" __pattern__ = r'http://(?:www\.)?(czshare|sdilej)\.(com|cz)/(\d+/|download\.php\?).+' @@ -72,7 +72,7 @@ class CzshareCom(SimpleHoster): inputs = dict(re.findall(self.FORM_INPUT_PATTERN, form)) except Exception, e: self.log_error(e) - self.restart(reset=True) + self.restart(nopremium=True) #: Download the file, destination is determined by pyLoad self.download("http://sdilej.cz/profi_down.php", post=inputs, disposition=True) @@ -148,7 +148,7 @@ class CzshareCom(SimpleHoster): self.fail(_("File not available - try later")) elif check == "credit": - self.restart(reset=True) + self.restart(nopremium=True) elif check == "multi-dl": self.wait(5 * 60, 12, _("Download limit reached")) diff --git a/module/plugins/hoster/FastshareCz.py b/module/plugins/hoster/FastshareCz.py index 472f7c906..485d69d15 100644 --- a/module/plugins/hoster/FastshareCz.py +++ b/module/plugins/hoster/FastshareCz.py @@ -9,7 +9,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class FastshareCz(SimpleHoster): __name__ = "FastshareCz" __type__ = "hoster" - __version__ = "0.31" + __version__ = "0.32" __status__ = "testing" __pattern__ = r'http://(?:www\.)?fastshare\.cz/\d+/.+' @@ -42,7 +42,7 @@ class FastshareCz(SimpleHoster): if self.CREDIT_ERROR in self.html: errmsg = self.info['error'] = _("Not enough traffic left") self.log_warning(errmsg) - self.restart(reset=True) + self.restart(nopremium=True) self.info.pop('error', None) @@ -73,7 +73,7 @@ class FastshareCz(SimpleHoster): self.retry(max_tries=5, reason=_("Wrong captcha")) elif check == "credit": - self.restart(reset=True) + self.restart(nopremium=True) return super(FastshareCz, self).check_file() diff --git a/module/plugins/hoster/FileserveCom.py b/module/plugins/hoster/FileserveCom.py index 21b5897ab..a74589cff 100644 --- a/module/plugins/hoster/FileserveCom.py +++ b/module/plugins/hoster/FileserveCom.py @@ -33,7 +33,7 @@ def check_file(plugin, urls): class FileserveCom(Hoster): __name__ = "FileserveCom" __type__ = "hoster" - __version__ = "0.57" + __version__ = "0.58" __status__ = "testing" __pattern__ = r'http://(?:www\.)?fileserve\.com/file/(?P<ID>[^/]+)' @@ -196,7 +196,7 @@ class FileserveCom(Hoster): elif res['error_code'] in ["305", "500"]: self.temp_offline() elif res['error_code'] in ["403", "605"]: - self.restart(reset=True) + self.restart(nopremium=True) elif res['error_code'] in ["606", "607", "608"]: self.offline() else: |