diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-01 19:16:24 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-01 19:16:37 +0200 |
commit | da829af5930917a18f5d01b57ffdae7c98db1ff8 (patch) | |
tree | 36cd2ecea3a83b08279a84c6974a3313b465e80f /pyload/plugins/network/CurlChunk.py | |
parent | Adapted 6 multi hoster plugins (diff) | |
download | pyload-da829af5930917a18f5d01b57ffdae7c98db1ff8.tar.xz |
fixed cookie passing, new test cases
Diffstat (limited to 'pyload/plugins/network/CurlChunk.py')
-rw-r--r-- | pyload/plugins/network/CurlChunk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/network/CurlChunk.py b/pyload/plugins/network/CurlChunk.py index 4250db2ce..f5a19eb0d 100644 --- a/pyload/plugins/network/CurlChunk.py +++ b/pyload/plugins/network/CurlChunk.py @@ -164,7 +164,7 @@ class CurlChunk(CurlRequest): def getHandle(self): """ returns a Curl handle ready to use for perform/multiperform """ - self.setRequestContext(self.p.url, self.p.get, self.p.post, self.p.referer, self.cj) + self.setRequestContext(self.p.url, self.p.get, self.p.post, self.p.referer, self.p.cookies) self.c.setopt(pycurl.WRITEFUNCTION, self.writeBody) self.c.setopt(pycurl.HEADERFUNCTION, self.writeHeader) |