diff options
author | 2015-10-18 18:55:20 +0200 | |
---|---|---|
committer | 2015-10-18 18:55:20 +0200 | |
commit | 54025794ebf707ba0c0f2840d5364b0b380d17a9 (patch) | |
tree | 5844b0cb987d4f62b8faf2e8984268793a2ed653 /module/plugins/crypter/XupPl.py | |
parent | Update containers (diff) | |
download | pyload-54025794ebf707ba0c0f2840d5364b0b380d17a9.tar.xz |
Update crypters
Diffstat (limited to 'module/plugins/crypter/XupPl.py')
-rw-r--r-- | module/plugins/crypter/XupPl.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/module/plugins/crypter/XupPl.py b/module/plugins/crypter/XupPl.py index 41abc861e..b041ee4fc 100644 --- a/module/plugins/crypter/XupPl.py +++ b/module/plugins/crypter/XupPl.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from module.plugins.internal.Crypter import Crypter +from module.plugins.internal.Crypter import Crypter, create_getInfo class XupPl(Crypter): @@ -10,7 +10,7 @@ class XupPl(Crypter): __status__ = "testing" __pattern__ = r'https?://(?:[^/]*\.)?xup\.pl/.+' - __config__ = [("activated", "bool", "Activated", True), + __config__ = [("activated" , "bool", "Activated" , True), ("use_subfolder" , "bool", "Save package to subfolder" , True), ("subfolder_per_pack", "bool", "Create a subfolder for each package", True)] @@ -25,3 +25,6 @@ class XupPl(Crypter): self.urls = [header.get('location')] else: self.fail(_("Unable to find link")) + + +getInfo = create_getInfo(XupPl) |