Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-shape
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wangmingming
lcc-shape
Commits
64971375
Commit
64971375
authored
Jan 31, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
329bf630
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
main.py
wn/src/main.py
+14
-14
No files found.
wn/src/main.py
View file @
64971375
...
@@ -230,20 +230,20 @@ while True:
...
@@ -230,20 +230,20 @@ while True:
logger
.
info
(
f
"success:{success} proxy: {proxy} "
)
logger
.
info
(
f
"success:{success} proxy: {proxy} "
)
tlsV
=
'chrome_112'
tlsV
=
'chrome_112'
session
=
requests
.
Session
(
impersonate
=
'chrome110'
)
#
session = requests.Session(impersonate='chrome110')
# session = tls_client.Session(tlsV)
#
#
session = tls_client.Session(tlsV)
# session.timeout_seconds = 15
#
#
session.timeout_seconds = 15
# session = requests.session()
#
#
session = requests.session()
session
.
proxies
=
{
#
session.proxies = {
'http'
:
proxy
,
#
'http': proxy,
'https'
:
proxy
,
#
'https': proxy,
}
#
}
# session.verify = False
#
#
session.verify = False
if
platform
.
uname
()
.
system
==
'Darwin'
:
#
if platform.uname().system == 'Darwin':
session
.
proxies
=
{
#
session.proxies = {
'http'
:
'http://127.0.0.1:7890'
,
#
'http': 'http://127.0.0.1:7890',
'https'
:
'http://127.0.0.1:7890'
,
#
'https': 'http://127.0.0.1:7890',
}
#
}
selectId
=
random
.
choice
(
list
(
envs
))
selectId
=
random
.
choice
(
list
(
envs
))
# selectId = '197d94c3099d110aef4e0a52'
# selectId = '197d94c3099d110aef4e0a52'
if
usedTime
>
5
:
if
usedTime
>
5
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment