diff options
Diffstat (limited to 'module/RequestFactory.py')
-rw-r--r-- | module/RequestFactory.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |