summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/crypter/MultiUpOrg.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/crypter/MultiUpOrg.py')
-rw-r--r--pyload/plugins/crypter/MultiUpOrg.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/pyload/plugins/crypter/MultiUpOrg.py b/pyload/plugins/crypter/MultiUpOrg.py
index 86dbb339f..81e204c72 100644
--- a/pyload/plugins/crypter/MultiUpOrg.py
+++ b/pyload/plugins/crypter/MultiUpOrg.py
@@ -7,17 +7,20 @@ from pyload.plugins.internal.SimpleCrypter import SimpleCrypter
class MultiUpOrg(SimpleCrypter):
- __name__ = "MultiUpOrg"
- __type__ = "crypter"
- __version__ = "0.02"
+ __name__ = "MultiUpOrg"
+ __type__ = "crypter"
+ __version__ = "0.03"
__pattern__ = r'http://(?:www\.)?multiup\.org/(en|fr)/(?P<TYPE>project|download|miror)/\w+(/\w+)?'
+ __config__ = [("use_subfolder", "bool", "Save package to subfolder", True),
+ ("subfolder_per_package", "bool", "Create a subfolder for each package", True)]
__description__ = """MultiUp.org crypter plugin"""
- __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
+ __license__ = "GPLv3"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
- TITLE_PATTERN = r'<title>.*(?:Project|Projet|ownload|élécharger) (.+?) (?:\(|- )'
+ NAME_PATTERN = r'<title>.*(?:Project|Projet|ownload|élécharger) (?P<N>.+?) (\(|- )'
def getLinks(self):