Commit 2f45720e authored by wang's avatar wang

收集更多信息

parent a590ccbc
......@@ -53,15 +53,23 @@ headers = {
# 'safari_ios_15_5', 'safari_ios_15_6', 'safari_ios_16_0',
# 'safari_ios_15_6'
# ]
lastHash = ''
usedTime = 10
success = 0
total = 0
selectId = random.choice(list(envs))
code = open('src.js', 'r', encoding='utf-8').read()
code1 = open('js_dom_run.js', 'r', encoding='utf-8').read()
for i in range(100):
while True:
r = requests.get('http://ymx-lcc.unififi.com/header/task/pull/headerB6?brush_name=test')
if r.json()['status'] != 0:
logger.debug(f'不需要刷值')
continue
logger.debug('开始刷值')
selectId = random.choice(list(envs))
lastHash = ''
usedTime = 10
success = 0
total = 0
selectId = random.choice(list(envs))
code = open('src.js', 'r', encoding='utf-8').read()
code1 = open('js_dom_run.js', 'r', encoding='utf-8').read()
for i in range(100):
try:
# selectId = '55a8fe24a752595e774341d6'
proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{int(random.randint(10000, 11149))}'
......@@ -183,3 +191,4 @@ for i in range(100):
# time.sleep(3)
except Exception as e:
print(e)
time.sleep(10)
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