summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/ShSt.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 00:05:58 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 00:05:58 +0200
commitdad722ac7255640e7e0541c4094a4d2e4de79cd3 (patch)
tree893a08e83fb9b465cd0ecf0b0315a5e820b06b06 /module/plugins/crypter/ShSt.py
parent[Hoster] Fix the http request issue (diff)
downloadpyload-dad722ac7255640e7e0541c4094a4d2e4de79cd3.tar.xz
Code cosmetics (2)
Diffstat (limited to 'module/plugins/crypter/ShSt.py')
-rw-r--r--module/plugins/crypter/ShSt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/ShSt.py b/module/plugins/crypter/ShSt.py
index a65522aea..05a5518d3 100644
--- a/module/plugins/crypter/ShSt.py
+++ b/module/plugins/crypter/ShSt.py
@@ -22,9 +22,9 @@ class ShSt(Crypter):
def decrypt(self, pyfile):
- # if we use curl as a user agent, we will get a straight redirect (no waiting!)
+ #: If we use curl as a user agent, we will get a straight redirect (no waiting!)
self.req.http.c.setopt(pycurl.USERAGENT, "curl/7.42.1")
- # fetch the target URL
+ #: Fetch the target URL
header = self.load(self.pyfile.url, just_header = True, decode = False)
target_url = header["location"]
self.urls.append(target_url)