summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-04-27 21:11:06 +0200
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-04-27 21:11:06 +0200
commit404d6afa864d4a812691868ba126df913ebd6f31 (patch)
tree0467c91747c8ea85594b51dad8410f8c3a710c6b
parent[ShareLinksBiz] Version up (diff)
downloadpyload-404d6afa864d4a812691868ba126df913ebd6f31.tar.xz
[MegaCoNz] Update
-rw-r--r--module/plugins/crypter/MegaCoNzFolder.py6
-rw-r--r--module/plugins/hoster/MegaCoNz.py6
2 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/crypter/MegaCoNzFolder.py b/module/plugins/crypter/MegaCoNzFolder.py
index 2e14d704f..de95c6b73 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.14"
+ __version__ = "0.15"
__status__ = "testing"
__pattern__ = r'(https?://(?:www\.)?mega(\.co)?\.nz/|mega:|chrome:.+?)#F!(?P<ID>[\w^_]+)!(?P<KEY>[\w,\-=]+)'
@@ -70,12 +70,12 @@ class MegaCoNzFolder(Crypter):
def a32_to_str(self, a):
- return struct.pack(_(">%dI") % len(a), *a) #: big-endian, unsigned int
+ return struct.pack(">%dI" % len(a), *a) #: big-endian, unsigned int
def str_to_a32(self, s):
s += '\0' * (-len(s) % 4) # Add padding, we need a string with a length multiple of 4
- return struct.unpack(_(">%dI") % (len(s) / 4), s) #: big-endian, unsigned int
+ return struct.unpack(">%dI" % (len(s) / 4), s) #: big-endian, unsigned int
def base64_to_a32(self, s):
diff --git a/module/plugins/hoster/MegaCoNz.py b/module/plugins/hoster/MegaCoNz.py
index 057ddd438..4a5af83fa 100644
--- a/module/plugins/hoster/MegaCoNz.py
+++ b/module/plugins/hoster/MegaCoNz.py
@@ -46,7 +46,7 @@ from module.plugins.internal.misc import decode, encode, json
class MegaCoNz(Hoster):
__name__ = "MegaCoNz"
__type__ = "hoster"
- __version__ = "0.39"
+ __version__ = "0.40"
__status__ = "testing"
__pattern__ = r'(https?://(?:www\.)?mega(\.co)?\.nz/|mega:|chrome:.+?)#(?P<TYPE>N|)!(?P<ID>[\w^_]+)!(?P<KEY>[\w\-,=]+)(?:###n=(?P<OWNER>[\w^_]+))?'
@@ -73,12 +73,12 @@ class MegaCoNz(Hoster):
def a32_to_str(self, a):
- return struct.pack(_(">%dI") % len(a), *a) #: big-endian, unsigned int
+ return struct.pack(">%dI" % len(a), *a) #: big-endian, unsigned int
def str_to_a32(self, s):
s += '\0' * (-len(s) % 4) # Add padding, we need a string with a length multiple of 4
- return struct.unpack(_(">%dI") % (len(s) / 4), s) #: big-endian, unsigned int
+ return struct.unpack(">%dI" % (len(s) / 4), s) #: big-endian, unsigned int
def base64_to_a32(self, s):