From eca20b701c411046e7ededb0462b310124ce3c18 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 13 Apr 2015 10:21:32 +0200 Subject: Cleanup + fixup + new lib --- pyload/plugin/container/CCF.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pyload/plugin/container/CCF.py') diff --git a/pyload/plugin/container/CCF.py b/pyload/plugin/container/CCF.py index 65f96033a..d984e23dc 100644 --- a/pyload/plugin/container/CCF.py +++ b/pyload/plugin/container/CCF.py @@ -3,8 +3,7 @@ from __future__ import with_statement import re - -from urllib2 import build_opener +import urllib2 from MultipartPostHandler import MultipartPostHandler @@ -27,7 +26,7 @@ class CCF(Container): def decrypt(self, pyfile): fs_filename = fs_encode(pyfile.url.strip()) - opener = build_opener(MultipartPostHandler) + opener = urllib2.build_opener(MultipartPostHandler) dlc_content = opener.open('http://service.jdownloader.net/dlcrypt/getDLC.php', {'src' : "ccf", -- cgit v1.2.3