diff options
author | Walter Purcaro <vuolter@gmail.com> | 2013-10-23 14:21:05 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-10-23 14:21:05 +0200 |
commit | 57f21830085d3d5944b8d33fc9825d577e81ed8a (patch) | |
tree | 803407139336ee94f5f61b09f8e418cafcd9b0d8 /module/plugins/hoster/CzshareCom.py | |
parent | Merge pull request #331 from vuolter/s/hoster_lc (diff) | |
download | pyload-57f21830085d3d5944b8d33fc9825d577e81ed8a.tar.xz |
Cleanup for setup vars.
See #315
Diffstat (limited to 'module/plugins/hoster/CzshareCom.py')
-rw-r--r-- | module/plugins/hoster/CzshareCom.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/module/plugins/hoster/CzshareCom.py b/module/plugins/hoster/CzshareCom.py index fdfce6226..58573d329 100644 --- a/module/plugins/hoster/CzshareCom.py +++ b/module/plugins/hoster/CzshareCom.py @@ -47,10 +47,6 @@ class CzshareCom(SimpleHoster): MULTIDL_PATTERN = r"<p><font color='red'>Z[^<]*PROFI.</font></p>" USER_CREDIT_PATTERN = r'<div class="credit">\s*kredit: <strong>([0-9., ]+)([kKMG]i?B)</strong>\s*</div><!-- .credit -->' - def setup(self): - self.multiDL = self.resumeDownload = self.premium - self.chunkLimit = 1 - def checkTrafficLeft(self): # check if user logged in found = re.search(self.USER_CREDIT_PATTERN, self.html) @@ -136,7 +132,6 @@ class CzshareCom(SimpleHoster): url = "http://%s/download.php?%s" % (found.group(1), found.group(2)) self.wait() - self.multiDL = True self.download(url) self.checkDownloadedFile() |