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
17f917a4
Commit
17f917a4
authored
Jan 26, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
7181ceb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
main.py
wn/src/main.py
+6
-6
No files found.
wn/src/main.py
View file @
17f917a4
...
...
@@ -322,11 +322,11 @@ setTimeout(r=> {
# {"$inc": {"used": 1}}
# )
usedTime
+=
1
print
(
r
)
#
print(r)
xhr_url
=
r
.
pop
(
'xhr_url'
)
xhr_res
=
r
.
pop
(
'xhr_res'
)
print
(
'xhr_url'
,
xhr_url
)
print
(
'xhr_res'
,
xhr_res
)
#
print('xhr_url', xhr_url)
#
print('xhr_res', xhr_res)
headers
.
update
(
r
)
# headers = r
logger
.
info
(
f
"success:{success} total:{total} {(time.time() - t1) *1000:.3f}ms {len(headers['ee30zvqlwf-a'.lower()])} {selectId} {headers['user-agent']}"
)
...
...
@@ -366,7 +366,7 @@ setTimeout(r=> {
,
allow_redirects
=
True
,
random_tls
=
True
))
status_code
=
response
.
json
()[
'status_code'
]
print
(
response
.
text
)
#
print(response.text)
logger
.
info
(
f
'tls:{tlsV} proxy:{proxy} res:: {status_code}'
)
# status_code = 400
if
status_code
!=
403
:
...
...
@@ -376,9 +376,9 @@ setTimeout(r=> {
# proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{int(random.randint(10000, 11149))}'
# proxy = 'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:10042'
# proxy = 'http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
brush_name
=
'js
2
'
brush_name
=
'js
k8s
'
if
platform
.
uname
()
.
system
==
'Darwin'
:
print
(
headers
)
#
print(headers)
brush_name
=
'jstest'
r
=
requests
.
post
(
uri
,
json
=
{
...
...
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