diff options
author | GamaC0de <nitzo2001@yahoo.com> | 2016-04-27 12:31:22 +0200 |
---|---|---|
committer | GamaC0de <nitzo2001@yahoo.com> | 2016-04-27 12:31:22 +0200 |
commit | e6a56fcc17836ad65fb62e937a5a3a6afc29f0cf (patch) | |
tree | 3a3f28bf3f6bd5e0ac7951e32d9cfc47cce123f4 | |
parent | [Checksum] Update (diff) | |
download | pyload-e6a56fcc17836ad65fb62e937a5a3a6afc29f0cf.tar.xz |
[MegaCoNzFolder] Fix minor bug
-rw-r--r-- | module/plugins/crypter/MegaCoNzFolder.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/crypter/MegaCoNzFolder.py b/module/plugins/crypter/MegaCoNzFolder.py index 2d1f31129..15f145394 100644 --- a/module/plugins/crypter/MegaCoNzFolder.py +++ b/module/plugins/crypter/MegaCoNzFolder.py @@ -43,7 +43,7 @@ from module.plugins.internal.misc import decode, json class MegaCoNzFolder(Crypter): __name__ = "MegaCoNzFolder" __type__ = "crypter" - __version__ = "0.12" + __version__ = "0.13" __status__ = "testing" __pattern__ = r'(https?://(?:www\.)?mega(\.co)?\.nz/|mega:|chrome:.+?)#F!(?P<ID>[\w^_]+)!(?P<KEY>[\w,\-=]+)' @@ -145,7 +145,6 @@ class MegaCoNzFolder(Crypter): elif "e" in mega: self.check_error(mega['e']) - get_node_key = lambda k: self.base64_encode(self.a32_to_str(self.decrypt_key(k, master_key))) self.links = [_("https://mega.co.nz/#N!%s!%s=###n=%s") % @@ -153,4 +152,4 @@ class MegaCoNzFolder(Crypter): get_node_key(_f['k'][_f['k'].index(':') + 1:]), id) for _f in mega['f'] - if _f['t'] == 0] + if _f['t'] == 0 and ':' in _f['k']] |