summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/DepositfilesCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-26 18:29:00 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-26 18:29:00 +0100
commitc3b406a00aba3fa549676a8181a5eb2a99d77c87 (patch)
treedc9c76f31e4c0baec0a53b6e2bd03182de08f518 /pyload/plugin/hoster/DepositfilesCom.py
parentCleanup (diff)
downloadpyload-c3b406a00aba3fa549676a8181a5eb2a99d77c87.tar.xz
Diffstat (limited to 'pyload/plugin/hoster/DepositfilesCom.py')
-rw-r--r--pyload/plugin/hoster/DepositfilesCom.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/pyload/plugin/hoster/DepositfilesCom.py b/pyload/plugin/hoster/DepositfilesCom.py
index 1832fd35b..736350f0c 100644
--- a/pyload/plugin/hoster/DepositfilesCom.py
+++ b/pyload/plugin/hoster/DepositfilesCom.py
@@ -9,16 +9,16 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster
class DepositfilesCom(SimpleHoster):
- __name__ = "DepositfilesCom"
- __type__ = "hoster"
- __version__ = "0.54"
+ __name = "DepositfilesCom"
+ __type = "hoster"
+ __version = "0.54"
- __pattern__ = r'https?://(?:www\.)?(depositfiles\.com|dfiles\.(eu|ru))(/\w{1,3})?/files/(?P<ID>\w+)'
- __config__ = [("use_premium", "bool", "Use premium account if available", True)]
+ __pattern = r'https?://(?:www\.)?(depositfiles\.com|dfiles\.(eu|ru))(/\w{1,3})?/files/(?P<ID>\w+)'
+ __config = [("use_premium", "bool", "Use premium account if available", True)]
- __description__ = """Depositfiles.com hoster plugin"""
- __license__ = "GPLv3"
- __authors__ = [("spoob", "spoob@pyload.org"),
+ __description = """Depositfiles.com hoster plugin"""
+ __license = "GPLv3"
+ __authors = [("spoob", "spoob@pyload.org"),
("zoidberg", "zoidberg@mujmail.cz"),
("Walter Purcaro", "vuolter@gmail.com")]
@@ -29,7 +29,7 @@ class DepositfilesCom(SimpleHoster):
NAME_REPLACEMENTS = [(r'\%u([0-9A-Fa-f]{4})', lambda m: unichr(int(m.group(1), 16))),
(r'.*<b title="(?P<N>[^"]+).*', "\g<N>")]
- URL_REPLACEMENTS = [(__pattern__ + ".*", "https://dfiles.eu/files/\g<ID>")]
+ URL_REPLACEMENTS = [(__pattern + ".*", "https://dfiles.eu/files/\g<ID>")]
COOKIES = [("dfiles.eu", "lang_current", "en")]