diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-23 13:26:32 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-23 13:26:32 +0100 |
commit | e1d4186c62512d8bb76d35b6f8d1828d8d0aa94e (patch) | |
tree | e78b3eb323135b0fcb10577bda0b6ddf7181070f /module/plugins/internal/XFSHoster.py | |
parent | New plugin: MultiHoster (diff) | |
download | pyload-e1d4186c62512d8bb76d35b6f8d1828d8d0aa94e.tar.xz |
[SimpleHoster] Improve multi-hoster feature
Diffstat (limited to 'module/plugins/internal/XFSHoster.py')
-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 7038743c1..dd2dd2527 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.30" + __version__ = "0.31" __pattern__ = r'^unmatchable$' @@ -142,6 +142,9 @@ class XFSHoster(SimpleHoster): def handleMulti(self): + if not self.account: + self.fail(_("Only registered or premium users can use url leech feature")) + #only tested with easybytez.com self.html = self.load("http://www.%s/" % self.HOSTER_DOMAIN) |