summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Base.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/Base.py')
-rw-r--r--module/plugins/internal/Base.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/internal/Base.py b/module/plugins/internal/Base.py
index 48b4ff237..84986bd09 100644
--- a/module/plugins/internal/Base.py
+++ b/module/plugins/internal/Base.py
@@ -101,7 +101,7 @@ class Base(Plugin):
self.captcha = Captcha(self)
#: Some plugins store html code here
- self.html = None
+ self.data = ""
#: Dict of the amount of retries already made
self.retries = {}
@@ -137,9 +137,9 @@ class Base(Plugin):
def _setup(self):
#@TODO: Remove in 0.4.10
- self.html = ""
- self.pyfile.error = ""
- self.last_html = None
+ self.data = ""
+ self.pyfile.error = ""
+ self.last_html = None
if self.get_config('use_premium', True):
self.load_account() #@TODO: Move to PluginThread in 0.4.10
@@ -221,7 +221,7 @@ class Base(Plugin):
self.log_info(_("Grabbing link info..."))
old_info = dict(self.info)
- new_info = self.get_info(self.pyfile.url, self.html)
+ new_info = self.get_info(self.pyfile.url, self.data)
self.info.update(new_info)
@@ -491,7 +491,7 @@ class Base(Plugin):
def parse_html_form(self, attr_str="", input_names={}):
- return parse_html_form(attr_str, self.html, input_names)
+ return parse_html_form(attr_str, self.data, input_names)
def get_password(self):