diff options
author | 2014-12-13 15:56:57 +0100 | |
---|---|---|
committer | 2014-12-13 15:56:57 +0100 | |
commit | acc46fc3497a66a427b795b4a22c6e71d69185a1 (patch) | |
tree | 2d315b838a76435fc456b972c99c28d1732b2f70 /pyload/plugins/internal/DeadHoster.py | |
parent | Code fixes (diff) | |
download | pyload-acc46fc3497a66a427b795b4a22c6e71d69185a1.tar.xz |
Update
Diffstat (limited to 'pyload/plugins/internal/DeadHoster.py')
-rw-r--r-- | pyload/plugins/internal/DeadHoster.py | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/pyload/plugins/internal/DeadHoster.py b/pyload/plugins/internal/DeadHoster.py deleted file mode 100644 index b7f930fc5..000000000 --- a/pyload/plugins/internal/DeadHoster.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- - -from urllib import unquote -from urlparse import urlparse - -from pyload.plugins.Hoster import Hoster as _Hoster -from pyload.plugins.internal.SimpleHoster import create_getInfo - - -class DeadHoster(_Hoster): - __name = "DeadHoster" - __type = "hoster" - __version = "0.14" - - __pattern = r'^unmatchable$' - - __description = """Hoster is no longer available""" - __license = "GPLv3" - __authors = [("zoidberg", "zoidberg@mujmail.cz")] - - - @classmethod - def getInfo(cls, url="", html=""): - return {'name': urlparse(unquote(url)).path.split('/')[-1] or _("Unknown"), 'size': 0, 'status': 1, 'url': url} - - - def setup(self): - self.pyfile.error = "Hoster is no longer available" - self.offline() #@TODO: self.offline("Hoster is no longer available") - - -getInfo = create_getInfo(DeadHoster) |