summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-29 20:03:30 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-08-01 17:02:22 +0200
commit713253974dc048d6608f4b4e2c73ae27019ac4d6 (patch)
tree80b834764b64df5879ca72a07e899eb059e529b7 /module
parentPrefer single quote for dict key (diff)
downloadpyload-713253974dc048d6608f4b4e2c73ae27019ac4d6.tar.xz
[DepositfilesCom] Fix missing declaration (thx hmlinaric)
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/DepositfilesCom.py5
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)