summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/NosuploadCom.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/NosuploadCom.py
parent[Dereferer] Don't preload (diff)
downloadpyload-c9b42f02f83a95d7741eee96247466d3b610b159.tar.xz
self.html -> self.data
Diffstat (limited to 'module/plugins/hoster/NosuploadCom.py')
-rw-r--r--module/plugins/hoster/NosuploadCom.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/NosuploadCom.py b/module/plugins/hoster/NosuploadCom.py
index 43eb9f5a1..6f4f85ac1 100644
--- a/module/plugins/hoster/NosuploadCom.py
+++ b/module/plugins/hoster/NosuploadCom.py
@@ -30,17 +30,17 @@ class NosuploadCom(XFSHoster):
def get_download_link(self):
#: Stage1: press the "Free Download" button
data = self.get_post_parameters()
- self.html = self.load(self.pyfile.url, post=data)
+ self.data = self.load(self.pyfile.url, post=data)
#: Stage2: wait some time and press the "Download File" button
data = self.get_post_parameters()
- wait_time = re.search(self.WAIT_PATTERN, self.html, re.M | re.S).group(1)
+ wait_time = re.search(self.WAIT_PATTERN, self.data, re.M | re.S).group(1)
self.log_debug("Hoster told us to wait %s seconds" % wait_time)
self.wait(wait_time)
- self.html = self.load(self.pyfile.url, post=data)
+ self.data = self.load(self.pyfile.url, post=data)
#: Stage3: get the download link
- return re.search(self.LINK_PATTERN, self.html, re.S).group(1)
+ return re.search(self.LINK_PATTERN, self.data, re.S).group(1)
getInfo = create_getInfo(NosuploadCom)