summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-23 00:57:41 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-23 00:57:41 +0200
commitaea3cdbe0741837bcecd7e413e64730689734ca9 (patch)
tree8ddd7198ba1e504296194743afaae127112a8d78
parentMerge pull request #2098 from SomeoneAnnoyedTryingToHelp/patch-2 (diff)
downloadpyload-aea3cdbe0741837bcecd7e413e64730689734ca9.tar.xz
[Dereferer] Fix https://github.com/pyload/pyload/issues/2096
-rw-r--r--module/plugins/crypter/Dereferer.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/module/plugins/crypter/Dereferer.py b/module/plugins/crypter/Dereferer.py
index 3e5b7cc4a..0fe78f18f 100644
--- a/module/plugins/crypter/Dereferer.py
+++ b/module/plugins/crypter/Dereferer.py
@@ -8,21 +8,23 @@ from module.plugins.internal.SimpleCrypter import SimpleCrypter
class Dereferer(SimpleCrypter):
__name__ = "Dereferer"
__type__ = "crypter"
- __version__ = "0.20"
+ __version__ = "0.21"
__status__ = "testing"
- __pattern__ = r'https?://(?:www\.)?(?:\w+\.)*?(?P<DOMAIN>(?:[\d.]+|[\w\-]{3,}(?:\.[a-zA-Z]{2,}){1,2})(?:\:\d+)?)/.*?(?P<LINK>(?:ht|f)tps?://.+)'
+ __pattern__ = r'https?://(?:www\.)?(?:\w+\.)*?(?P<DOMAIN>(?:[\d.]+|[\w\-]{3,63}(?:\.[a-zA-Z]{2,}){1,2})(?:\:\d+)?)/.*?(?P<LINK>[\w^_]+://.+)'
__config__ = [("activated" , "bool", "Activated" , True),
("use_subfolder" , "bool", "Save package to subfolder" , True),
("subfolder_per_pack", "bool", "Create a subfolder for each package", True)]
- __description__ = """Crypter for dereferers"""
+ __description__ = """Universal link dereferer"""
__license__ = "GPLv3"
__authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
PLUGIN_DOMAIN = None
PLUGIN_NAME = None
+
+ DIRECT_LINK = False
def _log(self, level, plugintype, pluginname, messages):