From d52bcc46770e2f932b12fcaac45d056846814ef1 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 22 Dec 2010 12:53:38 +0100 Subject: at least its downloading now --- module/RequestFactory.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'module/RequestFactory.py') diff --git a/module/RequestFactory.py b/module/RequestFactory.py index 9f93836f4..8bd27a275 100644 --- a/module/RequestFactory.py +++ b/module/RequestFactory.py @@ -19,6 +19,7 @@ from threading import Lock from module.network.Request import Request +from module.network.Browser import Browser from module.network.XdccRequest import XdccRequest from module.network.FtpRequest import FtpRequest from time import time @@ -34,7 +35,7 @@ class RequestFactory(): def getRequest(self, pluginName, account=None, type="HTTP"): self.lock.acquire() if type == "HTTP": - req = Request(interface=str(self.iface)) + req = Browser() if account: cj = self.getCookieJar(pluginName, account) req.setCookieJar(cj) -- cgit v1.2.3