MCPcopy Index your code
hub / github.com/pyload/pyload / decrypt

Method decrypt

module/plugins/crypter/ShSt.py:24–30  ·  view source on GitHub ↗
(self, pyfile)

Source from the content-addressed store, hash-verified

22 NAME_PATTERN = r'<title>(?P<N>.+?) -'
23
24 def decrypt(self, pyfile):
25 #: If we use curl as a user agent, we will get a straight redirect (no waiting!)
26 self.req.http.c.setopt(pycurl.USERAGENT, "curl/7.42.1")
27 #: Fetch the target URL
28 header = self.load(self.pyfile.url, just_header=True, decode=False)
29 target_url = header.get('location')
30 self.links.append(target_url)

Callers 2

get_linksMethod · 0.45
get_linksMethod · 0.45

Calls 3

loadMethod · 0.45
getMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected