diff options
author | zoidberg10 <zoidberg@mujmail.cz> | 2012-07-31 00:33:41 +0200 |
---|---|---|
committer | zoidberg10 <zoidberg@mujmail.cz> | 2012-07-31 00:33:41 +0200 |
commit | d29a3c1e8f3db0c70385b3188ecc2c8088bfc016 (patch) | |
tree | 77288892d06c1666065abb6a5ecfc4d7578e77ed /module/plugins/hoster | |
parent | linkdecrypter.com -- closed #612, #630 (diff) | |
download | pyload-d29a3c1e8f3db0c70385b3188ecc2c8088bfc016.tar.xz |
CaptchaBrotherhood plugin
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/CrockoCom.py | 4 | ||||
-rw-r--r-- | module/plugins/hoster/UlozTo.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/hoster/CrockoCom.py b/module/plugins/hoster/CrockoCom.py index bf058b613..27ab52436 100644 --- a/module/plugins/hoster/CrockoCom.py +++ b/module/plugins/hoster/CrockoCom.py @@ -9,13 +9,13 @@ class CrockoCom(SimpleHoster): __name__ = "CrockoCom" __type__ = "hoster" __pattern__ = r"http://(www\.)?(crocko|easy-share).com/.*" - __version__ = "0.12" + __version__ = "0.13" __description__ = """Crocko Download Hoster""" __author_name__ = ("zoidberg") __author_mail__ = ("zoidberg@mujmail.cz") FILE_NAME_PATTERN = r'<span class="fz24">Download:\s*<strong>(?P<N>.*)' - FILE_NAME_PATTERN = r'<span class="tip1"><span class="inner">(?P<S>[^<]+)</span></span>' + FILE_SIZE_PATTERN = r'<span class="tip1"><span class="inner">(?P<S>[^<]+)</span></span>' FILE_OFFLINE_PATTERN = r"<h1>Sorry,<br />the page you're looking for <br />isn't here.</h1>" DOWNLOAD_URL_PATTERN = r"window.location ='([^']+)';" CAPTCHA_URL_PATTERN = re.compile(r"u='(/file_contents/captcha/\w+)';\s*w='(\d+)';") diff --git a/module/plugins/hoster/UlozTo.py b/module/plugins/hoster/UlozTo.py index 5344ee09c..cf2f09311 100644 --- a/module/plugins/hoster/UlozTo.py +++ b/module/plugins/hoster/UlozTo.py @@ -132,7 +132,7 @@ class UlozTo(SimpleHoster): "wrong_captcha": re.compile(r'<ul class="error">\s*<li>Error rewriting the text.</li>'), "offline": re.compile(self.FILE_OFFLINE_PATTERN), "passwd": self.PASSWD_PATTERN, - "server_error": "<title>Ulo[zž].to - ([^<]+)</title>", #paralell dl, server overload etc. + "server_error": 'src="http://img.ulozto.cz/error403/vykricnik.jpg"', #paralell dl, server overload etc. "not_found": "<title>Ulož.to</title>" }) @@ -146,9 +146,9 @@ class UlozTo(SimpleHoster): elif check == "passwd": self.fail("Wrong password") elif check == "server_error": - self.logError("Server error: %s" % self.lastCheck.group(1)) + self.logError("Server error, try downloading later") self.multiDL = False - self.setWait(300, True) + self.setWait(3600, True) self.wait() self.retry() elif check == "not_found": |