summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/PromptfileCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-23 13:29:12 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-23 13:29:12 +0200
commitc9b42f02f83a95d7741eee96247466d3b610b159 (patch)
treeba642be8eeb25233e83763aab2aa6227b31c7885 /module/plugins/hoster/PromptfileCom.py
parent[Dereferer] Don't preload (diff)
downloadpyload-c9b42f02f83a95d7741eee96247466d3b610b159.tar.xz
self.html -> self.data
Diffstat (limited to 'module/plugins/hoster/PromptfileCom.py')
-rw-r--r--module/plugins/hoster/PromptfileCom.py4
1 files changed, 2 insertions, 2 deletions
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)