From c9b42f02f83a95d7741eee96247466d3b610b159 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 23 Oct 2015 13:29:12 +0200 Subject: self.html -> self.data --- module/plugins/internal/Base.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'module/plugins/internal/Base.py') 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): -- cgit v1.2.3