summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/crypter/FourChanOrg.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/crypter/FourChanOrg.py')
-rw-r--r--pyload/plugins/crypter/FourChanOrg.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/pyload/plugins/crypter/FourChanOrg.py b/pyload/plugins/crypter/FourChanOrg.py
index a6b50387f..c418d20b0 100644
--- a/pyload/plugins/crypter/FourChanOrg.py
+++ b/pyload/plugins/crypter/FourChanOrg.py
@@ -8,14 +8,17 @@ from pyload.plugins.base.Crypter import Crypter
class FourChanOrg(Crypter):
- __name__ = "FourChanOrg"
- __type__ = "crypter"
+ __name__ = "FourChanOrg"
+ __type__ = "crypter"
__version__ = "0.3"
- __pattern__ = r'http://(?:www\.)?boards\.4chan.org/\w+/res/(\d+)'
+ __pattern__ = r'http://(?:www\.)?boards\.4chan\.org/\w+/res/(\d+)'
+ __config__ = [("use_subfolder", "bool", "Save package to subfolder", True),
+ ("subfolder_per_package", "bool", "Create a subfolder for each package", True)]
__description__ = """4chan.org folder decrypter plugin"""
- __authors__ = []
+ __license__ = "GPLv3"
+ __authors__ = []
def decrypt(self, pyfile):