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/DepositfilesCom.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/DepositfilesCom.py')
-rw-r--r-- | module/plugins/hoster/DepositfilesCom.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/module/plugins/hoster/DepositfilesCom.py b/module/plugins/hoster/DepositfilesCom.py index 7a84fdb25..01589f206 100644 --- a/module/plugins/hoster/DepositfilesCom.py +++ b/module/plugins/hoster/DepositfilesCom.py @@ -26,10 +26,6 @@ class DepositfilesCom(SimpleHoster): RECAPTCHA_PATTERN = r"Recaptcha.create\('([^']+)'" DOWNLOAD_LINK_PATTERN = r'<form id="downloader_file_form" action="(http://.+?\.(dfiles\.eu|depositfiles\.com)/.+?)" method="post"' - def setup(self): - self.multiDL = False - self.resumeDownload = self.premium - def handleFree(self): self.html = self.load(self.pyfile.url, post={"gateway_result": "1"}, cookies=True) if re.search(self.FILE_OFFLINE_PATTERN, self.html): @@ -113,7 +109,6 @@ class DepositfilesCom(SimpleHoster): self.retry() link = unquote( re.search('<div id="download_url">\s*<a href="(http://.+?\.depositfiles.com/.+?)"', self.html).group(1)) - self.multiDL = True self.download(link, disposition=True) |