summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/crypter/Dereferer.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/crypter/Dereferer.py')
-rw-r--r--pyload/plugin/crypter/Dereferer.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/pyload/plugin/crypter/Dereferer.py b/pyload/plugin/crypter/Dereferer.py
new file mode 100644
index 000000000..b4b52f278
--- /dev/null
+++ b/pyload/plugin/crypter/Dereferer.py
@@ -0,0 +1,17 @@
+# -*- coding: utf-8 -*-
+
+from pyload.plugin.Crypter import Crypter
+
+
+class Dereferer(SimpleDereferer):
+ __name = "Dereferer"
+ __type = "crypter"
+ __version = "0.11"
+
+ __pattern = r'https?://([^/]+)/.*?(?P<LINK>(ht|f)tps?(://|%3A%2F%2F).+)'
+ __config = [("use_subfolder" , "bool", "Save package to subfolder" , True),
+ ("subfolder_per_pack", "bool", "Create a subfolder for each package", True)]
+
+ __description = """Crypter for dereferers"""
+ __license = "GPLv3"
+ __authors = [("zoidberg", "zoidberg@mujmail.cz")]