summaryrefslogtreecommitdiffstats
path: root/module/network/Browser.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-27 21:28:58 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-27 21:28:58 +0100
commit4a6be5cb861eee8c16cf04dfa65204f5a1fe936f (patch)
tree60d1990c486d0aadfa2be9bf825bd3849494b392 /module/network/Browser.py
parentnew curl download backend - support for chunked dl, resume (diff)
downloadpyload-4a6be5cb861eee8c16cf04dfa65204f5a1fe936f.tar.xz
little fixes
Diffstat (limited to 'module/network/Browser.py')
-rw-r--r--module/network/Browser.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/module/network/Browser.py b/module/network/Browser.py
index 0bed8e395..be8dee27d 100644
--- a/module/network/Browser.py
+++ b/module/network/Browser.py
@@ -82,6 +82,11 @@ class Browser(object):
return self.httpDownload(url, join(folder, file_name), get, post, ref, cookies)
+ def load(self, url, get={}, post={}, ref=True, cookies=True):
+ self.log.warning("Browser: deprecated call 'load'")
+
+ return self.getPage(url, get, post, ref, cookies)
+
def getPage(self, url, get={}, post={}, ref=True, cookies=True):
""" retrieves page """
return self.http.load(url, get, post, ref, cookies)