summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/DepositfilesCom.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2014-04-18 16:21:42 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-21 17:23:19 +0200
commite484775f328c032ae7fb0182772f581271e8cd13 (patch)
treecc2b44825b53988218cf56c5cf76bece12697ba6 /pyload/plugins/hoster/DepositfilesCom.py
parentUsing in instead of has_key (diff)
downloadpyload-e484775f328c032ae7fb0182772f581271e8cd13.tar.xz
Fixed some PEP8 violations
(cherry picked from commit 1db169b2a7f1df66777a1045b17fc948b1b45c42)
Diffstat (limited to 'pyload/plugins/hoster/DepositfilesCom.py')
-rw-r--r--pyload/plugins/hoster/DepositfilesCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/hoster/DepositfilesCom.py b/pyload/plugins/hoster/DepositfilesCom.py
index 81523234d..11b4f4112 100644
--- a/pyload/plugins/hoster/DepositfilesCom.py
+++ b/pyload/plugins/hoster/DepositfilesCom.py
@@ -20,7 +20,7 @@ class DepositfilesCom(SimpleHoster):
FILE_OFFLINE_PATTERN = r'<span class="html_download_api-not_exists"></span>'
FILE_URL_REPLACEMENTS = [(r"\.com(/.*?)?/files", ".com/en/files"), (r"\.html$", "")]
FILE_NAME_REPLACEMENTS = [(r'\%u([0-9A-Fa-f]{4})', lambda m: unichr(int(m.group(1), 16))),
- (r'.*<b title="(?P<N>[^"]+).*', "\g<N>" )]
+ (r'.*<b title="(?P<N>[^"]+).*', "\g<N>")]
RECAPTCHA_PATTERN = r"Recaptcha.create\('([^']+)'"
DOWNLOAD_LINK_PATTERN = r'<form id="downloader_file_form" action="(http://.+?\.(dfiles\.eu|depositfiles\.com)/.+?)" method="post"'