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/hoster/PromptfileCom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster/PromptfileCom.py') diff --git a/module/plugins/hoster/PromptfileCom.py b/module/plugins/hoster/PromptfileCom.py index 3dde76400..e6ae1859c 100644 --- a/module/plugins/hoster/PromptfileCom.py +++ b/module/plugins/hoster/PromptfileCom.py @@ -29,7 +29,7 @@ class PromptfileCom(SimpleHoster): def handle_free(self, pyfile): #: STAGE 1: get link to continue - m = re.search(self.CHASH_PATTERN, self.html) + m = re.search(self.CHASH_PATTERN, self.data) if m is None: self.error(_("CHASH_PATTERN not found")) @@ -37,7 +37,7 @@ class PromptfileCom(SimpleHoster): self.log_debug("Read chash %s" % chash) #: Continue to stage2 - self.html = self.load(pyfile.url, post={'chash': chash}) + self.data = self.load(pyfile.url, post={'chash': chash}) #: STAGE 2: get the direct link return super(PromptfileCom, self).handle_free(pyfile) -- cgit v1.2.3