Commit 89949111 authored by wang's avatar wang

wn test

parent 14a9f185
......@@ -103,7 +103,7 @@ while True:
selectId = random.choice(list(envs))
# selectId = 'a74b38e7115cf4d1b1f6976c'
if usedTime > 5:
c = session.get('https://www.jetblue.com/js/src/jb-74873.js', insecure_skip_verify=True).text
c = session.get('https://www.jetblue.com/js/src/jb-74873.js').text
m5 = md5(c)
if m5 != lastHash:
lastHash = m5
......@@ -194,7 +194,7 @@ while True:
#
# if platform.uname().system == 'Darwin':
total += 1
response = session.post(url, headers=headers, json=data, insecure_skip_verify=True, timeout_seconds=5)
response = session.post(url, headers=headers, json=data, timeout=5)
logger.info(f'tls:{tlsV} proxy:{proxy} res:: {response.status_code}')
if response.status_code != 403:
success += 1
......
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