Commit 28d6a6db authored by wangmingming's avatar wangmingming

111

parent c8562f03
......@@ -201,7 +201,7 @@ while True:
tlsV = f'chrome_{random.randint(105, 113)}'
tlsV = 'chrome_112'
# session = tls_client.Session(tlsV)
session = requests.Session()
session = requests.S
session.proxies = {
'http': proxy,
'https': proxy,
......
......@@ -8,7 +8,7 @@ from pathlib import Path
import loguru
import requests
import json
import tls_client
# import tls_client
from bson import ObjectId
import hashlib
from pymongo import MongoClient
......@@ -202,7 +202,8 @@ while True:
proxy = random.choice([proxy, proxy1])
tlsV = f'chrome_{random.randint(105, 113)}'
tlsV = 'chrome_112'
session = tls_client.Session(tlsV)
# session = tls_client.Session(tlsV)
session = requests.Session()
session.proxies = {
'http': proxy,
'https': proxy,
......
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