Commit 4334257f authored by wang's avatar wang

ff

parent 9de9ded1
......@@ -51,13 +51,15 @@ usedTime = 10
code = open('src.js', 'r').read()
for i in range(100):
selectId = random.choice(list(envs))
selectId = '1090b34baea017a542153824'
# selectId = 'a74b38e7115cf4d1b1f6976c'
c = requests.get('https://www.jetblue.com/js/src/jb-74873.js').text
m5 = md5(c)
if m5 != lastHash and usedTime > 3:
lastHash = m5
usedTime = 0
print('js变化')
selectId = random.choice(list(envs))
# with open('src_run1.js', 'w') as f:
# f.write(code + '\n\n' + c)
t1 = time.time()
......@@ -133,7 +135,7 @@ for i in range(100):
proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{int(random.randint(10000, 11149))}'
# proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@198.147.25.26:{int(random.randint(10000, 11149))}'
# proxy = 'http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# proxy = 'http://127.0.0.1:7890'
proxy = 'http://127.0.0.1:7890'
tlsV = f'chrome_{random.randint(105,113)}'
session = tls_client.Session(client_identifier=tlsV)
session.proxies = {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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