MCPcopy Create free account
hub / github.com/NanmiCoder/MediaCrawler / new_jisu_http_proxy

Function new_jisu_http_proxy

proxy/providers/jishu_http_proxy.py:99–109  ·  view source on GitHub ↗

Construct JiSu HTTP instance Returns:

()

Source from the content-addressed store, hash-verified

97
98
99def new_jisu_http_proxy() -> JiSuHttpProxy:
100 """
101 Construct JiSu HTTP instance
102 Returns:
103
104 """
105 return JiSuHttpProxy(
106 key=os.getenv("jisu_key", ""), # Get JiSu HTTP IP extraction key value through environment variable
107 crypto=os.getenv("jisu_crypto", ""), # Get JiSu HTTP IP extraction encryption signature through environment variable
108 time_validity_period=30 # 30 minutes (maximum validity)
109 )

Callers

nothing calls this directly

Calls 1

JiSuHttpProxyClass · 0.85

Tested by

no test coverage detected