summaryrefslogtreecommitdiffstats
path: root/module
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
parentnew curl download backend - support for chunked dl, resume (diff)
downloadpyload-4a6be5cb861eee8c16cf04dfa65204f5a1fe936f.tar.xz
little fixes
Diffstat (limited to 'module')
-rw-r--r--module/network/Browser.py5
-rw-r--r--module/plugins/Plugin.py2
2 files changed, 5 insertions, 2 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)
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index 4f26c72b4..6650562ea 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -42,8 +42,6 @@ from mimetypes import guess_type
from itertools import islice
-from module.network.helper import waitFor
-
def chunks(iterable, size):
it = iter(iterable)
item = list(islice(it, size))