diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-21 07:10:08 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-21 07:10:08 +0100 |
commit | f9f18d96663a1d50dee9c8bc45766ffd1af9fba8 (patch) | |
tree | c294c97b7232d7119d26780f529ca3f51ded1232 | |
parent | [SimpleCrypter] Updated (diff) | |
download | pyload-f9f18d96663a1d50dee9c8bc45766ffd1af9fba8.tar.xz |
[XFSHoster] Updated
-rw-r--r-- | module/plugins/internal/XFSHoster.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/internal/XFSHoster.py b/module/plugins/internal/XFSHoster.py index 43f6cab83..ea5889190 100644 --- a/module/plugins/internal/XFSHoster.py +++ b/module/plugins/internal/XFSHoster.py @@ -16,7 +16,7 @@ from module.utils import html_unescape class XFSHoster(SimpleHoster): __name__ = "XFSHoster" __type__ = "hoster" - __version__ = "0.16" + __version__ = "0.17" __pattern__ = r'^unmatchable$' @@ -71,6 +71,9 @@ class XFSHoster(SimpleHoster): pattern = r'(https?://(www\.)?([^/]*?%s|\d+\.\d+\.\d+\.\d+)(\:\d+)?(/d/|(/files)?/\d+/\w+/).+?)["\'<]' self.LINK_PATTERN = pattern % self.HOSTER_DOMAIN.replace('.', '\.') + if self.CHECK_DIRECT_LINK is None: + self.CHECK_DIRECT_LINK = bool(self.premium) + self.captcha = None self.errmsg = None self.passwords = self.getPassword().splitlines() |