From b31b2df26d5c21a2caf4d7877c484cceccf4e260 Mon Sep 17 00:00:00 2001 From: spoob Date: Thu, 8 Apr 2010 16:23:08 +0200 Subject: Cleaned Megaupload --- module/network/Request.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/network/Request.py') diff --git a/module/network/Request.py b/module/network/Request.py index 36cbbe91c..a074df7c4 100755 --- a/module/network/Request.py +++ b/module/network/Request.py @@ -95,7 +95,7 @@ class Request: "Connection: keep-alive", "Keep-Alive: 300"]) - def load(self, url, get={}, post={}, ref=True, cookies=False, just_header=False): + def load(self, url, get={}, post={}, ref=True, cookies=True, just_header=False): url = str(url) @@ -169,7 +169,7 @@ class Request: self.pycurl.setopt(pycurl.PROXY, adress.split(":")[0]) self.pycurl.setopt(pycurl.PROXYPORT, adress.split(":")[1]) - def download(self, url, file_name, get={}, post={}, ref=True, cookies=False): + def download(self, url, file_name, get={}, post={}, ref=True, cookies=True): url = str(url) -- cgit v1.2.3