summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/DlProtectCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/DlProtectCom.py')
-rw-r--r--module/plugins/crypter/DlProtectCom.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/module/plugins/crypter/DlProtectCom.py b/module/plugins/crypter/DlProtectCom.py
index 5ef8eab21..6bd6bc5b5 100644
--- a/module/plugins/crypter/DlProtectCom.py
+++ b/module/plugins/crypter/DlProtectCom.py
@@ -15,6 +15,7 @@
###############################################################################
import re
+
from base64 import urlsafe_b64encode
from time import time
@@ -23,15 +24,18 @@ from module.plugins.internal.SimpleCrypter import SimpleCrypter
class DlProtectCom(SimpleCrypter):
__name__ = "DlProtectCom"
+ __version__ = "0.01"
__type__ = "crypter"
+
__pattern__ = r'http://(?:www\.)?dl-protect\.com/((en|fr)/)?(?P<ID>\w+)'
- __version__ = "0.01"
+
__description__ = """Dl-protect.com decrypter plugin"""
__author_name__ = "Walter Purcaro"
__author_mail__ = "vuolter@gmail.com"
OFFLINE_PATTERN = r'>Unfortunately, the link you are looking for is not found'
+
def getLinks(self):
# Direct link with redirect
if not re.match(r"http://(?:www\.)?dl-protect\.com", self.req.http.lastEffectiveURL):