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
6c53c744
Commit
6c53c744
authored
Jan 30, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
632dcef1
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
38 deletions
+38
-38
main.py
wn/src/main.py
+4
-4
src.js
wn/src/src.js
+15
-15
src_run1.js
wn/src/src_run1.js
+19
-19
No files found.
wn/src/main.py
View file @
6c53c744
...
@@ -108,9 +108,9 @@ while True:
...
@@ -108,9 +108,9 @@ while True:
proxy2
=
f
'http://uni00001_custom_zone_US_sid_67336718_time_5:q39CEBTs5A@us.foxyip.com:7778'
proxy2
=
f
'http://uni00001_custom_zone_US_sid_67336718_time_5:q39CEBTs5A@us.foxyip.com:7778'
# proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@198.147.25.26:{int(random.randint(10000, 11149))}'
# proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@198.147.25.26:{int(random.randint(10000, 11149))}'
# proxy = 'http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# proxy = 'http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
proxy
=
random
.
choice
([
proxy1
,
proxy
])
#
proxy = random.choice([proxy1, proxy])
tlsV
=
f
'chrome_{random.randint(105, 113)}'
tlsV
=
f
'chrome_{random.randint(105, 113)}'
tlsV
=
'chrome_11
2
'
tlsV
=
'chrome_11
7
'
session
=
tls_client
.
Session
(
tlsV
)
session
=
tls_client
.
Session
(
tlsV
)
session
.
timeout_seconds
=
15
session
.
timeout_seconds
=
15
# session = requests.session()
# session = requests.session()
...
@@ -154,7 +154,7 @@ while True:
...
@@ -154,7 +154,7 @@ while True:
xhr.send(`{"tripType":"oneWay","from":"ZLA","to":"NAS","depart":"2023-04-11","cabin":"economy","refundable":false,"dates":{"before":"3","after":"3"},"pax":{"ADT":1,"CHD":0,"INF":0,"UNN":0},"redempoint":false,"pointsBreakup":{"option":"","value":0},"isMultiCity":false}`)
xhr.send(`{"tripType":"oneWay","from":"ZLA","to":"NAS","depart":"2023-04-11","cabin":"economy","refundable":false,"dates":{"before":"3","after":"3"},"pax":{"ADT":1,"CHD":0,"INF":0,"UNN":0},"redempoint":false,"pointsBreakup":{"option":"","value":0},"isMultiCity":false}`)
xhr.setRequestHeader('user-agent', ENV.navigatorparams.useragent)
xhr.setRequestHeader('user-agent', ENV.navigatorparams.useragent)
print(JSON.stringify(xhr.headers))
print(JSON.stringify(xhr.headers))
_process.exit(0)
//
_process.exit(0)
setTimeout(r=> {
setTimeout(r=> {
var
var
...
@@ -170,7 +170,7 @@ setTimeout(r=> {
...
@@ -170,7 +170,7 @@ setTimeout(r=> {
xhr.setRequestHeader('user-agent', ENV.navigatorparams.useragent)
xhr.setRequestHeader('user-agent', ENV.navigatorparams.useragent)
print(JSON.stringify(xhr.headers))
print(JSON.stringify(xhr.headers))
_process.exit(0)
_process.exit(0)
},
5
000)
},
1
000)
'''
'''
)
)
...
...
wn/src/src.js
View file @
6c53c744
No preview for this file type
wn/src/src_run1.js
View file @
6c53c744
This diff is collapsed.
Click to expand it.
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