diff options
Diffstat (limited to 'pyload/plugins/internal/DeadCrypter.py')
-rw-r--r-- | pyload/plugins/internal/DeadCrypter.py | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/pyload/plugins/internal/DeadCrypter.py b/pyload/plugins/internal/DeadCrypter.py deleted file mode 100644 index b1e963290..000000000 --- a/pyload/plugins/internal/DeadCrypter.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- - -from urllib import unquote -from urlparse import urlparse - -from pyload.plugins.Crypter import Crypter as _Crypter -from pyload.plugins.internal.SimpleCrypter import create_getInfo - - -class DeadCrypter(_Crypter): - __name = "DeadCrypter" - __type = "crypter" - __version = "0.04" - - __pattern = r'^unmatchable$' - - __description = """Crypter is no longer available""" - __license = "GPLv3" - __authors = [("stickell", "l.stickell@yahoo.it")] - - - @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 = "Crypter is no longer available" - self.offline() #@TODO: self.offline("Crypter is no longer available") - - -getInfo = create_getInfo(DeadCrypter) |