summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/SimpleCrypter.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-14 02:23:37 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-15 16:13:41 +0200
commit48c0c42fd6faffc56432d5f037cd575979f180cc (patch)
treeb8a57137e10e201f77328dca45e2951ece123e53 /module/plugins/internal/SimpleCrypter.py
parent[l18n] Improved few source strings (diff)
downloadpyload-48c0c42fd6faffc56432d5f037cd575979f180cc.tar.xz
Removed all @author flags + key attributes cleanup for internal & hooks plugins
Diffstat (limited to 'module/plugins/internal/SimpleCrypter.py')
-rw-r--r--module/plugins/internal/SimpleCrypter.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleCrypter.py b/module/plugins/internal/SimpleCrypter.py
index 2bcdad6a3..dc93bef4d 100644
--- a/module/plugins/internal/SimpleCrypter.py
+++ b/module/plugins/internal/SimpleCrypter.py
@@ -10,8 +10,10 @@ from module.plugins.internal.SimpleHoster import PluginParseError, replace_patte
class SimpleCrypter(Crypter):
__name__ = "SimpleCrypter"
__version__ = "0.10"
- __pattern__ = None
__type__ = "crypter"
+
+ __pattern__ = None
+
__description__ = """Simple decrypter plugin"""
__author_name__ = ("stickell", "zoidberg", "Walter Purcaro")
__author_mail__ = ("l.stickell@yahoo.it", "zoidberg@mujmail.cz", "vuolter@gmail.com")
@@ -47,9 +49,9 @@ class SimpleCrypter(Crypter):
URL_REPLACEMENTS = []
-
SH_COOKIES = True # or False or list of tuples [(domain, name, value)]
+
def setup(self):
if isinstance(self.SH_COOKIES, list):
set_cookies(self.req.cj, self.SH_COOKIES)