diff options
author | Stefano <l.stickell@yahoo.it> | 2013-08-25 14:25:14 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-09-07 20:27:28 +0200 |
commit | 84950a36acd0957db45b11e1d4a367acba664a82 (patch) | |
tree | fde3770f58cd044ffaf540d26cb70f219a7bc7e3 /pyload/plugins | |
parent | XFileSharingPro: fixed a premium direct links issue. (diff) | |
download | pyload-84950a36acd0957db45b11e1d4a367acba664a82.tar.xz |
Depositfiles: fixed file size detect
(cherry picked from commit abfe5accfa1d5aea6d3d601a2295f03867af04d1)
Diffstat (limited to 'pyload/plugins')
-rw-r--r-- | pyload/plugins/hoster/DepositfilesCom.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pyload/plugins/hoster/DepositfilesCom.py b/pyload/plugins/hoster/DepositfilesCom.py index 1ede3b715..7a84fdb25 100644 --- a/pyload/plugins/hoster/DepositfilesCom.py +++ b/pyload/plugins/hoster/DepositfilesCom.py @@ -11,14 +11,13 @@ class DepositfilesCom(SimpleHoster): __name__ = "DepositfilesCom" __type__ = "hoster" __pattern__ = r"http://[\w\.]*?(depositfiles\.com|dfiles\.eu)(/\w{1,3})?/files/[\w]+" - __version__ = "0.44" + __version__ = "0.45" __description__ = """Depositfiles.com Download Hoster""" __author_name__ = ("spoob", "zoidberg") __author_mail__ = ("spoob@pyload.org", "zoidberg@mujmail.cz") - FILE_NAME_PATTERN = r'File name: <b title="(?P<N>[^"]+)' - FILE_SIZE_PATTERN = r'File size: <b>(?P<S>[0-9.]+) (?P<U>[kKMG])i?B</b>' - FILE_INFO_PATTERN = r'<script type="text/javascript">eval\( unescape\(\'(?P<N>.*?)\'' + FILE_SIZE_PATTERN = r': <b>(?P<S>[0-9.]+) (?P<U>[kKMG])i?B</b>' + FILE_NAME_PATTERN = r'<script type="text/javascript">eval\( unescape\(\'(?P<N>.*?)\'' 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))), |