diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-23 12:48:04 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-23 12:48:04 +0200 |
commit | 1a9f3e369e731dec47ecf21ff0ff33afbe190018 (patch) | |
tree | 355b85ec755ba274ca618697c167be5845520d54 | |
parent | [SimpleHoster] Fix https://github.com/pyload/pyload/issues/2101 (diff) | |
download | pyload-1a9f3e369e731dec47ecf21ff0ff33afbe190018.tar.xz |
[Dereferer] Don't preload
-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): |