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
f9f1a956
Commit
f9f1a956
authored
Sep 26, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收集更多信息
parent
4eb135b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
Dockerfile
b6/Dockerfile
+3
-3
jetblue.py
b6/src/jetblue.py
+1
-0
No files found.
b6/Dockerfile
View file @
f9f1a956
...
...
@@ -4,10 +4,10 @@ RUN apt update &&apt install curl -y
RUN
pip3
install
requests loguru curl_cffi tls_client pyquery nacos-sdk-python pyyaml pymongo
RUN
curl
-fsSL
https://deb.nodesource.com/setup_18.x | bash -
RUN
apt
install
nodejs
COPY
src/ /home/opt/lcc-b6
WORKDIR
/home/opt/lcc-b6/
#RUN apt install -y make g++
#RUN cd /home/opt/lcc-b6/ && npm i
RUN
apt
install
-y
make g++
RUN
cd
/home/opt/lcc-b6/
&&
npm i
COPY
src/ /home/opt/lcc-b6
CMD
["python3", "jetblue.py"]
...
...
b6/src/jetblue.py
View file @
f9f1a956
...
...
@@ -131,6 +131,7 @@ while True:
# headers = r
logger
.
info
(
f
"success:{success} total:{total} {(time.time() - t1) *1000:.3f}ms {len(headers['X-1ItxWO9i-a'.lower()])} {selectId} {headers['user-agent']}"
)
logger
.
info
(
f
"success:{success} proxy: {proxy} token: {token}"
)
url
=
"https://jbrest.jetblue.com/lfs-rwb/outboundLFS"
data
=
{
"tripType"
:
"oneWay"
,
...
...
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