diff options
author | Stefano <l.stickell@yahoo.it> | 2013-12-29 17:34:37 +0100 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-21 16:47:41 +0200 |
commit | 7e4d67226924dd27b4d42e0dd005e89b3e504b0b (patch) | |
tree | 5f084b495c4aed6b4fb1c68b7ffcd618e70796c7 | |
parent | Filefactory: fixed #446 (diff) | |
download | pyload-7e4d67226924dd27b4d42e0dd005e89b3e504b0b.tar.xz |
Crocko: fixed #447
(cherry picked from commit 35ca8a283f6984f8a6b524508d9a475257236814)
-rw-r--r-- | pyload/plugins/hoster/CrockoCom.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugins/hoster/CrockoCom.py b/pyload/plugins/hoster/CrockoCom.py index 77c45ed92..5bd1a945c 100644 --- a/pyload/plugins/hoster/CrockoCom.py +++ b/pyload/plugins/hoster/CrockoCom.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- import re @@ -11,14 +10,14 @@ class CrockoCom(SimpleHoster): __name__ = "CrockoCom" __type__ = "hoster" __pattern__ = r"http://(www\.)?(crocko|easy-share).com/\w+" - __version__ = "0.15" + __version__ = "0.16" __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_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>" + FILE_OFFLINE_PATTERN = r"<h1>Sorry,<br />the page you're looking for <br />isn't here.</h1>|File not found" DOWNLOAD_URL_PATTERN = r"window.location ='([^']+)';" CAPTCHA_URL_PATTERN = re.compile(r"u='(/file_contents/captcha/\w+)';\s*w='(\d+)';") CAPTCHA_KEY_PATTERN = re.compile(r'Recaptcha.create\("([^"]+)"') |