summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
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))