summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/XupPl.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-15 16:27:44 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-15 16:27:44 +0200
commit8e47b0de30a25d0fd5dfb518bfe4e1e7beff93fd (patch)
tree518c204aa8edbc8b0d33fe1aaa614e539438fae9 /module/plugins/crypter/XupPl.py
parentPrefer single quote for dict key name (diff)
downloadpyload-8e47b0de30a25d0fd5dfb518bfe4e1e7beff93fd.tar.xz
Key attributes cleanup for account, container and crypter plugins
Diffstat (limited to 'module/plugins/crypter/XupPl.py')
-rw-r--r--module/plugins/crypter/XupPl.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/crypter/XupPl.py b/module/plugins/crypter/XupPl.py
index c04fc69f8..09c3084ea 100644
--- a/module/plugins/crypter/XupPl.py
+++ b/module/plugins/crypter/XupPl.py
@@ -5,13 +5,16 @@ from module.plugins.Crypter import Crypter
class XupPl(Crypter):
__name__ = "XupPl"
+ __version__ = "0.1"
__type__ = "crypter"
+
__pattern__ = r'https?://(?:[^/]*\.)?xup\.pl/.*'
- __version__ = "0.1"
+
__description__ = """Xup.pl decrypter plugin"""
__author_name__ = "z00nx"
__author_mail__ = "z00nx0@gmail.com"
+
def decrypt(self, pyfile):
header = self.load(pyfile.url, just_header=True)
if 'location' in header: