summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/NosuploadCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-17 18:59:20 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-24 22:42:40 +0200
commit20b6a2ec022202b0efb6cb69415239fb8f4d1445 (patch)
treefdbb3ad42854144b1cace0221145a472b36ef84d /module/plugins/hoster/NosuploadCom.py
parentSpare code cosmetics (diff)
downloadpyload-20b6a2ec022202b0efb6cb69415239fb8f4d1445.tar.xz
Spare code cosmetics (2)
Diffstat (limited to 'module/plugins/hoster/NosuploadCom.py')
-rw-r--r--module/plugins/hoster/NosuploadCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/NosuploadCom.py b/module/plugins/hoster/NosuploadCom.py
index 0b4af511c..4f3f34ddb 100644
--- a/module/plugins/hoster/NosuploadCom.py
+++ b/module/plugins/hoster/NosuploadCom.py
@@ -24,18 +24,18 @@ class NosuploadCom(XFSHoster):
def getDownloadLink(self):
- # stage1: press the "Free Download" button
+ #: stage1: press the "Free Download" button
data = self.getPostParameters()
self.html = self.load(self.pyfile.url, post=data)
- # stage2: wait some time and press the "Download File" button
+ #: stage2: wait some time and press the "Download File" button
data = self.getPostParameters()
wait_time = re.search(self.WAIT_PATTERN, self.html, re.M | re.S).group(1)
self.logDebug("Hoster told us to wait %s seconds" % wait_time)
self.wait(wait_time)
self.html = self.load(self.pyfile.url, post=data)
- # stage3: get the download link
+ #: stage3: get the download link
return re.search(self.LINK_PATTERN, self.html, re.S).group(1)