summaryrefslogtreecommitdiffstats
path: root/pyload/remote/ClickNLoadBackend.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/remote/ClickNLoadBackend.py')
-rw-r--r--pyload/remote/ClickNLoadBackend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/remote/ClickNLoadBackend.py b/pyload/remote/ClickNLoadBackend.py
index f0c988d73..d9db5b845 100644
--- a/pyload/remote/ClickNLoadBackend.py
+++ b/pyload/remote/ClickNLoadBackend.py
@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-
# @author: RaNaN
+import base64
import re
import urllib
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
from cgi import FieldStorage
-from base64 import standard_b64decode
from binascii import unhexlify
try:
@@ -131,7 +131,7 @@ class CNLHandler(BaseHTTPRequestHandler):
crypted = self.get_post("crypted")
jk = self.get_post("jk")
- crypted = standard_b64decode(urllib.unquote(crypted.replace(" ", "+")))
+ crypted = base64.standard_b64decode(urllib.unquote(crypted.replace(" ", "+")))
jk = "%s f()" % jk
jk = js.eval(jk)
Key = unhexlify(jk)