diff options
Diffstat (limited to 'module')
-rwxr-xr-x | module/network/Request.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/network/Request.py b/module/network/Request.py index ff50c34bc..30ffbcd3e 100755 --- a/module/network/Request.py +++ b/module/network/Request.py @@ -109,6 +109,9 @@ class Request: #def download(url, filename, reporthook = None, data = None): #default von urlretrieve auch None? # return self.downloader.urlretrieve(url, filename, reporthook, data) + def clear_cookies(self): + del self.cookies[:] + def add_proxy(self, protocol, adress): handler = urllib2.ProxyHandler({protocol: adress}) self.opener.add_handler(handler) |