summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/crypter/FilerNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/crypter/FilerNet.py')
-rw-r--r--pyload/plugins/crypter/FilerNet.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/pyload/plugins/crypter/FilerNet.py b/pyload/plugins/crypter/FilerNet.py
new file mode 100644
index 000000000..4d28dc0da
--- /dev/null
+++ b/pyload/plugins/crypter/FilerNet.py
@@ -0,0 +1,26 @@
+import re
+
+from pyload.plugins.internal.SimpleCrypter import SimpleCrypter
+
+
+class FilerNet(SimpleCrypter):
+ __name__ = "FilerNet"
+ __type__ = "crypter"
+ __version__ = "0.41"
+
+ __pattern__ = r'https?://filer\.net/folder/\w{16}'
+ __config__ = [("use_subfolder", "bool", "Save package to subfolder", True),
+ ("subfolder_per_package", "bool", "Create a subfolder for each package", True)]
+
+ __description__ = """Filer.net decrypter plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("nath_schwarz", "nathan.notwhite@gmail.com"),
+ ("stickell", "l.stickell@yahoo.it")]
+
+
+ LINK_PATTERN = r'href="(/get/\w{16})">(?!<)'
+ NAME_PATTERN = r'<h3>(?P<N>.+?) - <small'
+
+
+ def getLinks(self):
+ return ['http://filer.net%s' % link for link in re.findall(self.LINK_PATTERN, self.html)]