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
2b374125
Commit
2b374125
authored
Oct 06, 2023
by
wangmingming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
请求造纸
parent
b8806836
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
jetblue.py
b6/src/jetblue.py
+1
-1
start.js
b6/src/start.js
+6
-2
No files found.
b6/src/jetblue.py
View file @
2b374125
...
...
@@ -76,7 +76,7 @@ while True:
# selectId = '55a8fe24a752595e774341d6'
proxy
=
f
'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{int(random.randint(10000, 11149))}'
proxy
=
random
.
choice
([
'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:9000'
,
proxy
])
#
proxy = requests.post('http://ymx-lcc.unififi.com/proxy/get-proxy', json={'name':"B6", 'type':'shopping'}).json()['url']
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'
...
...
b6/src/start.js
View file @
2b374125
...
...
@@ -17,7 +17,10 @@ pm2.connect(async function (err) {
console
.
error
(
err
)
process
.
exit
(
2
)
}
process
.
on
(
'SIGINT'
,
function
()
{
pm2
.
stop
(
'api'
)
pm2
.
stop
(
'main'
)
})
let
res
=
await
fetch
(
'https://www.jetblue.com/js/src/jb-74873.js'
);
let
text
=
await
res
.
text
();
...
...
@@ -67,7 +70,8 @@ http.createServer((request,response)=>{
})
pm2
.
start
({
interpreter
:
'/Users/wang/miniconda3/envs/nx/bin/python3'
,
script
:
'jetblue.py'
script
:
'jetblue.py'
,
name
:
'main'
})
setInterval
(
async
function
()
{
...
...
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