summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/MultiUpOrg.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/MultiUpOrg.py')
-rw-r--r--module/plugins/crypter/MultiUpOrg.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/crypter/MultiUpOrg.py b/module/plugins/crypter/MultiUpOrg.py
index d08daaf75..ab23def8d 100644
--- a/module/plugins/crypter/MultiUpOrg.py
+++ b/module/plugins/crypter/MultiUpOrg.py
@@ -23,15 +23,18 @@ from module.plugins.internal.SimpleCrypter import SimpleCrypter
class MultiUpOrg(SimpleCrypter):
__name__ = "MultiUpOrg"
+ __version__ = "0.01"
__type__ = "crypter"
+
__pattern__ = r'http://(?:www\.)?multiup\.org/(en|fr)/(?P<TYPE>project|download|miror)/\w+(/\w+)?'
- __version__ = "0.01"
+
__description__ = """MultiUp.org crypter plugin"""
__author_name__ = "Walter Purcaro"
__author_mail__ = "vuolter@gmail.com"
TITLE_PATTERN = r'<title>.*(Project|Projet|ownload|élécharger) (?P<title>.+?) (\(|- )'
+
def getLinks(self):
m_type = re.match(self.__pattern__, self.pyfile.url).group("TYPE")