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
0e56b0df
Commit
0e56b0df
authored
Sep 26, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收集更多信息
parent
dff35f99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
jetblue.py
b6/src/jetblue.py
+5
-0
No files found.
b6/src/jetblue.py
View file @
0e56b0df
...
...
@@ -30,6 +30,7 @@ data = {str(x['_id']): x['env'] for x in result}
print
(
result
)
with
open
(
'env.json'
,
'w'
,
encoding
=
'utf-8'
)
as
f
:
f
.
write
(
json
.
dumps
(
data
))
with
open
(
'env.json'
,
'r'
,
encoding
=
'utf-8'
)
as
f
:
data
=
json
.
loads
(
f
.
read
())
envs
=
data
.
keys
()
...
...
@@ -68,10 +69,12 @@ while True:
success
=
0
total
=
0
code
=
open
(
'src.js'
,
'r'
,
encoding
=
'utf-8'
)
.
read
()
code1
=
open
(
'js_dom_run.js'
,
'r'
,
encoding
=
'utf-8'
)
.
read
()
for
i
in
range
(
30
):
try
:
# selectId = '55a8fe24a752595e774341d6'
proxy
=
f
'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{int(random.randint(10000, 11149))}'
proxy
=
requests
.
post
(
'http://ymx-lcc.unififi.com/proxy/get-proxy'
,
json
=
{
'name'
:
"B6"
,
'type'
:
'shopping'
})
.
json
()[
'url'
]
# proxy = f'http://ynfflcc2023.hotmail.com:gdcfh9@69.30.227.194:{random.randint(20001, 20250)}'
# proxy = f'http://user-uni003-region-us-sessid-${random.randint(1000,5000)}-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@198.147.25.26:{int(random.randint(10000, 11149))}'
...
...
@@ -86,6 +89,7 @@ while True:
'https'
:
proxy
,
}
selectId
=
random
.
choice
(
list
(
envs
))
# selectId = 'a74b38e7115cf4d1b1f6976c'
c
=
session
.
get
(
'https://www.jetblue.com/js/src/jb-74873.js'
,
insecure_skip_verify
=
True
)
.
text
m5
=
md5
(
c
)
if
m5
!=
lastHash
and
usedTime
>
5
:
...
...
@@ -98,6 +102,7 @@ while True:
'update_time'
:
int
(
time
.
time
()
*
1000
)
})
code
=
open
(
'src.js'
,
'r'
,
encoding
=
'utf-8'
)
.
read
()
code1
=
open
(
'js_dom_run.js'
,
'r'
,
encoding
=
'utf-8'
)
.
read
()
with
open
(
'src_run1.js'
,
'w'
,
encoding
=
'utf-8'
)
as
f
:
f
.
write
(
code
+
'
\n\n
'
+
c
)
# # with open('js_dom_run1.js', 'w', encoding='utf-8') as f:
...
...
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