Commit 64971375 authored by wang's avatar wang

111

parent 329bf630
......@@ -230,20 +230,20 @@ while True:
logger.info(f"success:{success} proxy: {proxy} ")
tlsV = 'chrome_112'
session = requests.Session(impersonate='chrome110')
# session = tls_client.Session(tlsV)
# session.timeout_seconds = 15
# session = requests.session()
session.proxies = {
'http': proxy,
'https': proxy,
}
# session.verify = False
if platform.uname().system == 'Darwin':
session.proxies = {
'http': 'http://127.0.0.1:7890',
'https': 'http://127.0.0.1:7890',
}
# session = requests.Session(impersonate='chrome110')
# # session = tls_client.Session(tlsV)
# # session.timeout_seconds = 15
# # session = requests.session()
# session.proxies = {
# 'http': proxy,
# 'https': proxy,
# }
# # session.verify = False
# if platform.uname().system == 'Darwin':
# session.proxies = {
# 'http': 'http://127.0.0.1:7890',
# 'https': 'http://127.0.0.1:7890',
# }
selectId = random.choice(list(envs))
# selectId = '197d94c3099d110aef4e0a52'
if usedTime > 5:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment