diff options
author | Stefano <l.stickell@yahoo.it> | 2014-04-18 16:21:42 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-18 16:21:42 +0200 |
commit | 1db169b2a7f1df66777a1045b17fc948b1b45c42 (patch) | |
tree | e3df2bbef73737a21417b536ef15a4ea129bba05 /module/plugins/hoster/DepositfilesCom.py | |
parent | Using in instead of has_key (diff) | |
download | pyload-1db169b2a7f1df66777a1045b17fc948b1b45c42.tar.xz |
Fixed some PEP8 violations
Diffstat (limited to 'module/plugins/hoster/DepositfilesCom.py')
-rw-r--r-- | module/plugins/hoster/DepositfilesCom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/DepositfilesCom.py b/module/plugins/hoster/DepositfilesCom.py index 81523234d..11b4f4112 100644 --- a/module/plugins/hoster/DepositfilesCom.py +++ b/module/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"' |