diff options
Diffstat (limited to 'module/plugins/crypter/JDlist.py')
-rw-r--r-- | module/plugins/crypter/JDlist.py | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/module/plugins/crypter/JDlist.py b/module/plugins/crypter/JDlist.py index 29ad0d5fe..0c321ef80 100644 --- a/module/plugins/crypter/JDlist.py +++ b/module/plugins/crypter/JDlist.py @@ -1,19 +1,18 @@ # -*- coding: utf-8 -*- -from module.plugins.internal.Crypter import Crypter, create_getInfo +from module.plugins.internal.Crypter import Crypter class JDlist(Crypter): __name__ = "JDlist" __type__ = "crypter" - __version__ = "0.03" + __version__ = "0.04" __status__ = "testing" __pattern__ = r'jdlist://(?P<LIST>[\w\+^_]+==)' - __config__ = [("activated" , "bool", "Activated" , True), - ("use_premium" , "bool", "Use premium account if available" , True), - ("use_subfolder" , "bool", "Save package to subfolder" , True), - ("subfolder_per_package", "bool", "Create a subfolder for each package", True)] + __config__ = [("activated" , "bool" , "Activated" , True ), + ("use_premium" , "bool" , "Use premium account if available", True ), + ("folder_per_package", "Default;Yes;No", "Create folder for each package" , "Default")] __description__ = """JDlist decrypter plugin""" __license__ = "GPLv3" @@ -22,6 +21,3 @@ class JDlist(Crypter): def decrypt(self, pyfile): self.links.extend(self.info['pattern']['LIST'].decode('base64').split(',')) - - -getInfo = create_getInfo(JDlist) |