diff options
author | Stefano <l.stickell@yahoo.it> | 2013-05-17 11:28:41 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-05-17 11:28:41 +0200 |
commit | b62ff3b3972a2fe23f98f60d0fdabf09a54f7784 (patch) | |
tree | 236c00c217870be21bad093b906889b513abf4de /module/plugins/hoster | |
parent | RapidgatorNet: fixed #124 (diff) | |
download | pyload-b62ff3b3972a2fe23f98f60d0fdabf09a54f7784.tar.xz |
CzshareCom: content-disposition
see #111
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/CzshareCom.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/module/plugins/hoster/CzshareCom.py b/module/plugins/hoster/CzshareCom.py index a4a811e82..347427586 100644 --- a/module/plugins/hoster/CzshareCom.py +++ b/module/plugins/hoster/CzshareCom.py @@ -16,6 +16,9 @@ @author: zoidberg """ +# Test links (random.bin): +# http://czshare.com/5278880/random.bin + import re from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo, PluginParseError from module.utils import parseFileSize @@ -24,7 +27,7 @@ class CzshareCom(SimpleHoster): __name__ = "CzshareCom" __type__ = "hoster" __pattern__ = r"http://(\w*\.)*czshare\.(com|cz)/(\d+/|download.php\?).*" - __version__ = "0.92" + __version__ = "0.93" __description__ = """CZshare.com""" __author_name__ = ("zoidberg") @@ -80,7 +83,7 @@ class CzshareCom(SimpleHoster): self.resetAccount() # download the file, destination is determined by pyLoad - self.download("http://czshare.com/profi_down.php", cookies=True, post=inputs) + self.download("http://czshare.com/profi_down.php", post=inputs, disposition=True) self.checkDownloadedFile() def handleFree(self): |