diff options
author | 2015-01-11 14:54:48 +0100 | |
---|---|---|
committer | 2015-01-11 14:54:48 +0100 | |
commit | d2b60b5ceb369814a0de41c8b8744b5c4ed81523 (patch) | |
tree | 6619e01fc0e5f281e4d28678ec565860a86784ec /module/plugins/internal/DeadCrypter.py | |
parent | updated nitroflare.com's plugin (diff) | |
parent | Code improvements (diff) | |
download | pyload-d2b60b5ceb369814a0de41c8b8744b5c4ed81523.tar.xz |
Merged with the updated nitroflare
Diffstat (limited to 'module/plugins/internal/DeadCrypter.py')
-rw-r--r-- | module/plugins/internal/DeadCrypter.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/internal/DeadCrypter.py b/module/plugins/internal/DeadCrypter.py index 07c5c3881..0fa23eef3 100644 --- a/module/plugins/internal/DeadCrypter.py +++ b/module/plugins/internal/DeadCrypter.py @@ -20,8 +20,10 @@ class DeadCrypter(_Crypter): @classmethod - def getInfo(cls, url="", html=""): - return {'name': urlparse(unquote(url)).path.split('/')[-1] or _("Unknown"), 'size': 0, 'status': 1, 'url': url} + def apiInfo(cls, url="", get={}, post={}): + api = super(DeadCrypter, self).apiInfo(url, get, post) + api['status'] = 1 + return api def setup(self): |