diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-28 00:58:56 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-28 00:58:56 +0100 |
commit | 712ec761237eb989484b8c8f84fdf2d566500482 (patch) | |
tree | 9054ca99b3bf0c0938f6bec17c129e7ccfa43c96 /module/plugins/crypter/JDlist.py | |
parent | Merge pull request #2125 from GammaC0de/patch-6 (diff) | |
download | pyload-712ec761237eb989484b8c8f84fdf2d566500482.tar.xz |
Fix https://github.com/pyload/pyload/issues/2112
Diffstat (limited to 'module/plugins/crypter/JDlist.py')
-rw-r--r-- | module/plugins/crypter/JDlist.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/module/plugins/crypter/JDlist.py b/module/plugins/crypter/JDlist.py index cc4ece751..29ad0d5fe 100644 --- a/module/plugins/crypter/JDlist.py +++ b/module/plugins/crypter/JDlist.py @@ -10,9 +10,10 @@ class JDlist(Crypter): __status__ = "testing" __pattern__ = r'jdlist://(?P<LIST>[\w\+^_]+==)' - __config__ = [("activated" , "bool", "Activated" , True), - ("use_subfolder" , "bool", "Save package to subfolder" , True), - ("subfolder_per_pack", "bool", "Create a subfolder for each package", True)] + __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)] __description__ = """JDlist decrypter plugin""" __license__ = "GPLv3" @@ -20,7 +21,7 @@ class JDlist(Crypter): def decrypt(self, pyfile): - self.urls.extend(self.info['pattern']['LIST'].decode('base64').split(',')) + self.links.extend(self.info['pattern']['LIST'].decode('base64').split(',')) getInfo = create_getInfo(JDlist) |