diff options
-rw-r--r-- | module/plugins/crypter/Dereferer.py | 6 | ||||
-rw-r--r-- | module/plugins/internal/SimpleCrypter.py | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/module/plugins/crypter/Dereferer.py b/module/plugins/crypter/Dereferer.py index 8b89955eb..fc8d90782 100644 --- a/module/plugins/crypter/Dereferer.py +++ b/module/plugins/crypter/Dereferer.py @@ -8,7 +8,7 @@ from module.plugins.internal.SimpleCrypter import SimpleCrypter class Dereferer(SimpleCrypter): __name__ = "Dereferer" __type__ = "crypter" - __version__ = "0.22" + __version__ = "0.23" __status__ = "testing" __pattern__ = r'https?://(?:www\.)?(?:\w+\.)*?(?P<DOMAIN>(?:[\d.]+|[\w\-]{3,63}(?:\.[a-zA-Z]{2,}){1,2})(?:\:\d+)?)/.*?(?P<LINK>[\w^_]+://.+)' @@ -39,5 +39,9 @@ class Dereferer(SimpleCrypter): self.PLUGIN_NAME = "".join(part.capitalize() for part in re.split(r'\.|\d+|-', self.PLUGIN_DOMAIN) if part != '.') + def preload(self): + pass + + def get_links(self): return [self.info['pattern']['LINK']] diff --git a/module/plugins/internal/SimpleCrypter.py b/module/plugins/internal/SimpleCrypter.py index 0fbc5ed69..51b104381 100644 --- a/module/plugins/internal/SimpleCrypter.py +++ b/module/plugins/internal/SimpleCrypter.py @@ -281,7 +281,7 @@ class SimpleCrypter(Crypter): def check_errors(self): if not self.html: - self.log_warning(_("No html code to check")) + self.log_debug("No data to check") return if self.IP_BLOCKED_PATTERN and re.search(self.IP_BLOCKED_PATTERN, self.html): |