summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/crypter/DontKnowMe.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/crypter/DontKnowMe.py')
-rw-r--r--pyload/plugins/crypter/DontKnowMe.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/pyload/plugins/crypter/DontKnowMe.py b/pyload/plugins/crypter/DontKnowMe.py
new file mode 100644
index 000000000..dfa72df47
--- /dev/null
+++ b/pyload/plugins/crypter/DontKnowMe.py
@@ -0,0 +1,21 @@
+# -*- coding: utf-8 -*-
+
+import re
+import urllib
+
+from module.plugins.Crypter import Crypter
+
+class DontKnowMe(Crypter):
+ __name__ = "DontKnowMe"
+ __type__ = "crypter"
+ __pattern__ = r"http://dontknow.me/at/\?.+$"
+ __version__ = "0.1"
+ __description__ = """DontKnowMe"""
+ __author_name__ = ("selaux")
+ __author_mail__ = ("")
+
+ LINK_PATTERN = r"http://dontknow.me/at/\?(.+)$"
+
+ def decrypt(self, pyfile):
+ link = re.findall(self.LINK_PATTERN, self.pyfile.url)[0]
+ self.core.files.addLinks([ urllib.unquote(link) ], self.pyfile.package().id)