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
1695c4eb
Commit
1695c4eb
authored
Jan 11, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wn fix
parent
32c4675f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
main.py
wn/src/main.py
+4
-3
No files found.
wn/src/main.py
View file @
1695c4eb
...
...
@@ -236,9 +236,10 @@ while True:
#
# if platform.uname().system == 'Darwin':
total
+=
1
# response = session.post(url, headers=headers, json=data)
# logger.info(f'tls:{tlsV} proxy:{proxy} res:: {response.status_code}')
status_code
=
400
response
=
session
.
post
(
url
,
headers
=
headers
,
json
=
data
)
logger
.
info
(
f
'tls:{tlsV} proxy:{proxy} res:: {response.status_code}'
)
# status_code = 400
status_code
=
response
.
status_code
if
status_code
!=
403
:
success
+=
1
uri
=
'http://ymx-lcc.unififi.com/header/add'
...
...
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