summaryrefslogtreecommitdiffstats
path: root/module/RequestFactory.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-22 12:53:38 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-22 12:53:38 +0100
commitd52bcc46770e2f932b12fcaac45d056846814ef1 (patch)
tree8b4a53a93b15a6134bd6c4af8cdb2ace6f5ec78e /module/RequestFactory.py
parentchanged request files (diff)
downloadpyload-d52bcc46770e2f932b12fcaac45d056846814ef1.tar.xz
at least its downloading now
Diffstat (limited to 'module/RequestFactory.py')
-rw-r--r--module/RequestFactory.py3
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)