summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/crypter/MultiloadCz.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/crypter/MultiloadCz.py')
-rw-r--r--pyload/plugins/crypter/MultiloadCz.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/pyload/plugins/crypter/MultiloadCz.py b/pyload/plugins/crypter/MultiloadCz.py
index 7dd9dabc6..e233dce99 100644
--- a/pyload/plugins/crypter/MultiloadCz.py
+++ b/pyload/plugins/crypter/MultiloadCz.py
@@ -5,16 +5,19 @@ from pyload.plugins.base.Crypter import Crypter
class MultiloadCz(Crypter):
- __name__ = "MultiloadCz"
- __type__ = "crypter"
+ __name__ = "MultiloadCz"
+ __type__ = "crypter"
__version__ = "0.4"
- __pattern__ = r'http://(?:[^/]*\.)?multiload.cz/(stahnout|slozka)/.*'
- __config__ = [("usedHoster", "str", "Prefered hoster list (bar-separated) ", ""),
- ("ignoredHoster", "str", "Ignored hoster list (bar-separated) ", "")]
+ __pattern__ = r'http://(?:[^/]*\.)?multiload\.cz/(stahnout|slozka)/.*'
+ __config__ = [("use_subfolder", "bool", "Save package to subfolder", True),
+ ("subfolder_per_package", "bool", "Create a subfolder for each package", True),
+ ("usedHoster", "str", "Prefered hoster list (bar-separated)", ""),
+ ("ignoredHoster", "str", "Ignored hoster list (bar-separated)", "")]
__description__ = """Multiload.cz decrypter plugin"""
- __authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
+ __license__ = "GPLv3"
+ __authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
FOLDER_PATTERN = r'<form action="" method="get"><textarea[^>]*>([^>]*)</textarea></form>'
@@ -37,6 +40,3 @@ class MultiloadCz(Crypter):
if not self.urls:
ignored_set = set(self.getConfig("ignoredHoster").split('|'))
self.urls.extend([x[1] for x in m if x[0] not in ignored_set])
-
- if not self.urls:
- self.fail('Could not extract any links')