Commit 4bee1a05 authored by wangmingming's avatar wangmingming

wn比较稳定

parent 57558327
......@@ -3,7 +3,7 @@ RUN mkdir -p "/home/opt/lcc-wn"
RUN apt update &&apt install curl -y
RUN pip3 install requests loguru curl_cffi tls_client pyquery nacos-sdk-python pyyaml pymongo
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
RUN apt install nodejs
RUN apt install nodejs -y
WORKDIR /home/opt/lcc-wn/
RUN apt install -y make g++
COPY src/package.json /home/opt/lcc-wn/package.json
......
......@@ -111,9 +111,9 @@ while True:
proxy = random.choice([proxy1, proxy])
tlsV = f'chrome_{random.randint(105, 113)}'
tlsV = 'chrome_112'
session = tls_client.Session(tlsV)
session.timeout_seconds = 15
# session = requests.session()
# session = tls_client.Session(tlsV)
# session.timeout_seconds = 15
session = requests.session()
session.proxies = {
'http': proxy,
'https': proxy,
......
This diff is collapsed.
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