MCPcopy Create free account
hub / github.com/geekcomputers/Python / __init__

Method __init__

insta_monitering/insta_datafetcher.py:28–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26
27class PorxyApplyingDecorator(object):
28 def __init__(self):
29 filename = os.getcwd() + "/" + "ipList.txt"
30 with open(filename, "r") as f:
31 ipdata = f.read()
32 self._IP = random.choice(ipdata.split(","))
33
34 def __call__(self, function_to_call_for_appling_proxy):
35 SOCKS5_PROXY_HOST = self._IP

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected