summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/ShareLinksBiz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-14 03:51:26 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-27 20:54:33 +0100
commitb0b837650b2f3f85e9533e9cbc56d6140d1929a6 (patch)
tree3aff7a226f5f67e0550f9e2c09fa62add65906a0 /module/plugins/crypter/ShareLinksBiz.py
parentUpdate addons (diff)
downloadpyload-b0b837650b2f3f85e9533e9cbc56d6140d1929a6.tar.xz
Crypters version up
Diffstat (limited to 'module/plugins/crypter/ShareLinksBiz.py')
-rw-r--r--module/plugins/crypter/ShareLinksBiz.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/crypter/ShareLinksBiz.py b/module/plugins/crypter/ShareLinksBiz.py
index 80aeb430a..01f1a5167 100644
--- a/module/plugins/crypter/ShareLinksBiz.py
+++ b/module/plugins/crypter/ShareLinksBiz.py
@@ -3,7 +3,7 @@
import binascii
import re
-from Crypto.Cipher import AES
+import Crypto.Cipher
from module.plugins.internal.Crypter import Crypter, create_getInfo
@@ -72,7 +72,7 @@ class ShareLinksBiz(Crypter):
if 's2l.biz' in url:
header = self.load(url, just_header=True)
-
+
if not 'location' in header:
self.fail(_("Unable to initialize download"))
else:
@@ -291,7 +291,7 @@ class ShareLinksBiz(Crypter):
#: Decrypt
Key = key
IV = key
- obj = AES.new(Key, AES.MODE_CBC, IV)
+ obj = Crypto.Cipher.AES.new(Key, Crypto.Cipher.AES.MODE_CBC, IV)
text = obj.decrypt(crypted.decode('base64'))
#: Extract links