summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/crypter/FreakhareComFolder.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/crypter/FreakhareComFolder.py')
-rw-r--r--pyload/plugins/crypter/FreakhareComFolder.py15
1 files changed, 9 insertions, 6 deletions
diff --git a/pyload/plugins/crypter/FreakhareComFolder.py b/pyload/plugins/crypter/FreakhareComFolder.py
index 6cd4e7a7b..f5e31ea42 100644
--- a/pyload/plugins/crypter/FreakhareComFolder.py
+++ b/pyload/plugins/crypter/FreakhareComFolder.py
@@ -6,18 +6,21 @@ from pyload.plugins.internal.SimpleCrypter import SimpleCrypter
class FreakhareComFolder(SimpleCrypter):
- __name__ = "FreakhareComFolder"
- __type__ = "crypter"
- __version__ = "0.02"
+ __name__ = "FreakhareComFolder"
+ __type__ = "crypter"
+ __version__ = "0.03"
__pattern__ = r'http://(?:www\.)?freakshare\.com/folder/.+'
+ __config__ = [("use_subfolder", "bool", "Save package to subfolder", True),
+ ("subfolder_per_package", "bool", "Create a subfolder for each package", True)]
__description__ = """Freakhare.com folder decrypter plugin"""
- __authors__ = [("stickell", "l.stickell@yahoo.it")]
+ __license__ = "GPLv3"
+ __authors__ = [("stickell", "l.stickell@yahoo.it")]
- LINK_PATTERN = r'<a href="(http://freakshare.com/files/[^"]+)" target="_blank">'
- TITLE_PATTERN = r'Folder:</b> (.+)'
+ LINK_PATTERN = r'<a href="(http://freakshare\.com/files/[^"]+)" target="_blank">'
+ NAME_PATTERN = r'Folder:</b> (?P<N>.+)'
PAGES_PATTERN = r'Pages: +(\d+)'