summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/XupPl.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/XupPl.py')
-rw-r--r--module/plugins/crypter/XupPl.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/module/plugins/crypter/XupPl.py b/module/plugins/crypter/XupPl.py
index 9d698cd83..39d168379 100644
--- a/module/plugins/crypter/XupPl.py
+++ b/module/plugins/crypter/XupPl.py
@@ -10,9 +10,10 @@ class XupPl(Crypter):
__status__ = "testing"
__pattern__ = r'https?://(?:[^/]*\.)?xup\.pl/.+'
- __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__ = """Xup.pl decrypter plugin"""
__license__ = "GPLv3"
@@ -22,7 +23,7 @@ class XupPl(Crypter):
def decrypt(self, pyfile):
header = self.load(pyfile.url, just_header=True)
if 'location' in header:
- self.urls = [header.get('location')]
+ self.links = [header.get('location')]
else:
self.fail(_("Unable to find link"))