From 712ec761237eb989484b8c8f84fdf2d566500482 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Wed, 28 Oct 2015 00:58:56 +0100 Subject: Fix https://github.com/pyload/pyload/issues/2112 --- module/plugins/crypter/UlozToFolder.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'module/plugins/crypter/UlozToFolder.py') diff --git a/module/plugins/crypter/UlozToFolder.py b/module/plugins/crypter/UlozToFolder.py index 0de684d13..a57544db6 100644 --- a/module/plugins/crypter/UlozToFolder.py +++ b/module/plugins/crypter/UlozToFolder.py @@ -12,9 +12,10 @@ class UlozToFolder(Crypter): __status__ = "testing" __pattern__ = r'http://(?:www\.)?(uloz\.to|ulozto\.(cz|sk|net)|bagruj\.cz|zachowajto\.pl)/(m|soubory)/.+' - __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__ = """Uloz.to folder decrypter plugin""" __license__ = "GPLv3" @@ -46,7 +47,7 @@ class UlozToFolder(Crypter): self.log_info(_("Limit of 99 pages reached, aborting")) if new_links: - self.urls = [map(lambda s: "http://ulozto.net/%s" % s, new_links)] + self.links = [map(lambda s: "http://ulozto.net/%s" % s, new_links)] getInfo = create_getInfo(UlozToFolder) -- cgit v1.2.3