diff options
author | mkaay <mkaay@mkaay.de> | 2010-12-21 18:20:30 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-12-21 18:20:30 +0100 |
commit | 7fa32641f04e93681d21f04022af673aa2c8c31a (patch) | |
tree | 4df57c1c8280a3bcebb619ce4bc04a10cbef1741 /module/network/Browser.py | |
parent | improved bucket (diff) | |
download | pyload-7fa32641f04e93681d21f04022af673aa2c8c31a.tar.xz |
new download backend: wrapped deferred, Request compatibility draft, other fixes
added caution's fixes (VeehdCom, PornhubCom)
Diffstat (limited to 'module/network/Browser.py')
-rw-r--r-- | module/network/Browser.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/network/Browser.py b/module/network/Browser.py index 90502b298..6277f3a45 100644 --- a/module/network/Browser.py +++ b/module/network/Browser.py @@ -16,9 +16,12 @@ class Browser(): self.bucket = bucket self.http = HTTPBase(interface=interface, proxies=proxies) - self.http.cookieJar = cookieJar + self.setCookieJar(cookieJar) self.proxies = proxies + def setCookieJar(self, cookieJar): + self.http.cookieJar = cookieJar + def clearReferer(self): self.lastURL = None |