summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/plugins/crypter/MegaCoNzFolder.py5
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']]