diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-29 20:03:30 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-08-01 17:02:22 +0200 |
commit | 713253974dc048d6608f4b4e2c73ae27019ac4d6 (patch) | |
tree | 80b834764b64df5879ca72a07e899eb059e529b7 | |
parent | Prefer single quote for dict key (diff) | |
download | pyload-713253974dc048d6608f4b4e2c73ae27019ac4d6.tar.xz |
[DepositfilesCom] Fix missing declaration (thx hmlinaric)
-rw-r--r-- | module/plugins/hoster/DepositfilesCom.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/hoster/DepositfilesCom.py b/module/plugins/hoster/DepositfilesCom.py index 15e23cba7..e2b2d46fd 100644 --- a/module/plugins/hoster/DepositfilesCom.py +++ b/module/plugins/hoster/DepositfilesCom.py @@ -2,14 +2,16 @@ import re +from urllib import unquote + from module.plugins.internal.CaptchaService import ReCaptcha from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class DepositfilesCom(SimpleHoster): __name__ = "DepositfilesCom" - __version__ = "0.47" __type__ = "hoster" + __version__ = "0.48" __pattern__ = r'https?://(?:www\.)?(depositfiles\.com|dfiles\.(eu|ru))(/\w{1,3})?/files/(?P<ID>\w+)' @@ -123,4 +125,5 @@ class DepositfilesCom(SimpleHoster): self.parseError("No direct download link or mirror found") self.download(dlink, disposition=True) + getInfo = create_getInfo(DepositfilesCom) |