diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 10:21:32 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 10:21:32 +0200 |
commit | eca20b701c411046e7ededb0462b310124ce3c18 (patch) | |
tree | c5eb36261cfc935f001b816f28f15d1f5afbf7e0 /pyload/plugin/container/CCF.py | |
parent | Merge branch 'stable' into 0.4.10 (diff) | |
download | pyload-eca20b701c411046e7ededb0462b310124ce3c18.tar.xz |
Cleanup + fixup + new lib
Diffstat (limited to 'pyload/plugin/container/CCF.py')
-rw-r--r-- | pyload/plugin/container/CCF.py | 5 |
1 files changed, 2 insertions, 3 deletions
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", |