Commit 9d493dbd authored by wang's avatar wang

收集更多信息

parent 096e2b10
...@@ -30,6 +30,7 @@ data = {str(x['_id']): x['env'] for x in result} ...@@ -30,6 +30,7 @@ data = {str(x['_id']): x['env'] for x in result}
print(result) print(result)
with open('env.json', 'w', encoding='utf-8') as f: with open('env.json', 'w', encoding='utf-8') as f:
f.write(json.dumps(data)) f.write(json.dumps(data))
with open('env.json', 'r', encoding='utf-8') as f: with open('env.json', 'r', encoding='utf-8') as f:
data = json.loads(f.read()) data = json.loads(f.read())
envs = data.keys() envs = data.keys()
...@@ -73,6 +74,7 @@ while True: ...@@ -73,6 +74,7 @@ while True:
try: try:
# selectId = '55a8fe24a752595e774341d6' # selectId = '55a8fe24a752595e774341d6'
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@usa.rotating.proxyrack.net:{int(random.randint(10000, 11149))}'
proxy = requests.post('http://ymx-lcc.unififi.com/proxy/get-proxy', json={'name':"B6", 'type':'shopping'}).json()['url']
# proxy = f'http://ynfflcc2023.hotmail.com:gdcfh9@69.30.227.194:{random.randint(20001, 20250)}' # proxy = f'http://ynfflcc2023.hotmail.com:gdcfh9@69.30.227.194:{random.randint(20001, 20250)}'
# proxy = f'http://user-uni003-region-us-sessid-${random.randint(1000,5000)}-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600' # proxy = f'http://user-uni003-region-us-sessid-${random.randint(1000,5000)}-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@198.147.25.26:{int(random.randint(10000, 11149))}' # proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@198.147.25.26:{int(random.randint(10000, 11149))}'
......
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