MCPcopy Create free account
hub / github.com/Python3WebSpider/ProxyPool / encode

Method encode

proxypool/crawlers/public/uqidata.py:16–22  ·  view source on GitHub ↗
(input_str)

Source from the content-addressed store, hash-verified

14 ignore = True
15
16 def encode(input_str):
17 tmp = []
18 for i in range(len(input_str)):
19 tmp.append("ABCDEFGHIZ".find(input_str[i]))
20 result = "".join(str(i) for i in tmp)
21 result = int(result) >> 0x03
22 return result
23
24 def parse(self, html):
25 """

Callers 1

parseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected