diff options
author | 2013-03-07 17:32:49 +0100 | |
---|---|---|
committer | 2013-03-07 17:32:49 +0100 | |
commit | d129267e022e1591de5dfbcc118f534a573eb400 (patch) | |
tree | 8995fd6c29742671a470667d59e8e6d167ed448b /module/plugins/hoster/CzshareCom.py | |
parent | Merge pull request #32 from stickell/patch-1 (diff) | |
parent | Various fixes in 24 plugins (diff) | |
download | pyload-d129267e022e1591de5dfbcc118f534a573eb400.tar.xz |
Merge pull request #34 from stickell/fixes
Various fixes in 24 plugins
Diffstat (limited to 'module/plugins/hoster/CzshareCom.py')
-rw-r--r-- | module/plugins/hoster/CzshareCom.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/hoster/CzshareCom.py b/module/plugins/hoster/CzshareCom.py index c8a576b29..a4a811e82 100644 --- a/module/plugins/hoster/CzshareCom.py +++ b/module/plugins/hoster/CzshareCom.py @@ -17,14 +17,14 @@ """ import re -from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo +from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo, PluginParseError from module.utils import parseFileSize class CzshareCom(SimpleHoster): __name__ = "CzshareCom" __type__ = "hoster" __pattern__ = r"http://(\w*\.)*czshare\.(com|cz)/(\d+/|download.php\?).*" - __version__ = "0.91" + __version__ = "0.92" __description__ = """CZshare.com""" __author_name__ = ("zoidberg") @@ -87,14 +87,14 @@ class CzshareCom(SimpleHoster): # get free url found = re.search(self.FREE_URL_PATTERN, self.html) if found is None: - raise PluginParseError('Free URL') + raise PluginParseError('Free URL') parsed_url = "http://czshare.com" + found.group(1) self.logDebug("PARSED_URL:" + parsed_url) # get download ticket and parse html self.html = self.load(parsed_url, cookies=True, decode=True) if re.search(self.MULTIDL_PATTERN, self.html): - self.longWait(300, 12) + self.longWait(300, 12) try: form = re.search(self.FREE_FORM_PATTERN, self.html, re.DOTALL).group(1) @@ -154,4 +154,4 @@ class CzshareCom(SimpleHoster): self.invalidCaptcha() self.retry() -getInfo = create_getInfo(CzshareCom)
\ No newline at end of file +getInfo = create_getInfo(CzshareCom) |