Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
P
px3
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
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangmingming
px3
Commits
57c26ec6
Commit
57c26ec6
authored
Jun 20, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收集环境
parent
7e712395
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
18 deletions
+20
-18
f91.js
src/f91.js
+4
-4
test_search.py
test_search.py
+16
-14
No files found.
src/f91.js
View file @
57c26ec6
...
@@ -5224,7 +5224,7 @@ class PxBypass {
...
@@ -5224,7 +5224,7 @@ class PxBypass {
let
data
=
[{
let
data
=
[{
"t"
:
"PX12095"
,
"t"
:
"PX12095"
,
"d"
:
{
"d"
:
{
"PX11645"
:
this
.
url
,
"PX12207"
:
0
,
"PX12458"
:
this
.
env
2
.
px11590
.
PX12458
,
"PX11902"
:
0
,
"PX11645"
:
this
.
url
,
"PX12207"
:
0
,
"PX12458"
:
this
.
env
.
navigatorparams
.
platform
,
"PX11902"
:
0
,
"PX11560"
:
randint
(
11600
,
22600
),
"PX12248"
:
3600
,
"PX11385"
:
t1
,
"PX12280"
:
t2
,
"PX11560"
:
randint
(
11600
,
22600
),
"PX12248"
:
3600
,
"PX11385"
:
t1
,
"PX12280"
:
t2
,
"PX11496"
:
this
.
uuid
,
"PX12564"
:
null
,
"PX12565"
:
-
1
,
"PX11496"
:
this
.
uuid
,
"PX12564"
:
null
,
"PX12565"
:
-
1
,
// "PX11379": false
// "PX11379": false
...
@@ -5256,7 +5256,7 @@ class PxBypass {
...
@@ -5256,7 +5256,7 @@ class PxBypass {
// this.str1, this.uuid,
// this.str1, this.uuid,
// this.startTs, this.startTs2, this.performanceNow, this.px12280)
// this.startTs, this.startTs2, this.performanceNow, this.px12280)
let
px11590
=
this
.
pxenv
.
get_px11590
();
let
px11590
=
this
.
pxenv
.
get_px11590
();
Object
.
assign
(
px11590
.
d
,
this
.
env2
.
px11590
)
//
Object.assign(px11590.d, this.env2.px11590)
let
data
=
[
px11590
]
let
data
=
[
px11590
]
let
res
=
await
this
.
do_collector
(
data
)
let
res
=
await
this
.
do_collector
(
data
)
...
@@ -5282,7 +5282,7 @@ class PxBypass {
...
@@ -5282,7 +5282,7 @@ class PxBypass {
// this.startTs, this.startTs2, this.performanceNow, this.px12280)
// this.startTs, this.startTs2, this.performanceNow, this.px12280)
this
.
pxenv
.
performanceNow
=
this
.
performanceNow
this
.
pxenv
.
performanceNow
=
this
.
performanceNow
let
d
=
this
.
pxenv
.
get_px11547
();
let
d
=
this
.
pxenv
.
get_px11547
();
Object
.
assign
(
d
.
d
,
this
.
env2
.
px11547
)
//
Object.assign(d.d, this.env2.px11547)
let
data
=
[
let
data
=
[
// this.pxenv.get_px11891(),
// this.pxenv.get_px11891(),
d
]
d
]
...
@@ -5381,7 +5381,7 @@ async function run() {
...
@@ -5381,7 +5381,7 @@ async function run() {
try
{
try
{
let
px
=
new
PxBypass
(
false
)
let
px
=
new
PxBypass
(
false
)
await
px
.
initMongo
()
await
px
.
initMongo
()
await
px
.
initMongo2
()
//
await px.initMongo2()
await
px
.
step1
()
await
px
.
step1
()
await
px
.
step3
()
await
px
.
step3
()
await
sleep
(
1000
)
await
sleep
(
1000
)
...
...
test_search.py
View file @
57c26ec6
...
@@ -10,8 +10,7 @@ headers = {
...
@@ -10,8 +10,7 @@ headers = {
"authority"
:
"www.flyfrontier.com"
,
"accept"
:
"application/json, text/plain, */*"
,
"accept-language"
:
"en-US"
}
"authority"
:
"www.flyfrontier.com"
,
"accept"
:
"application/json, text/plain, */*"
,
"accept-language"
:
"en-US"
}
url
=
"https://booking.flyfrontier.com/Flight/InternalSelect?o1=BNA&d1=ATL&dd1=Apr
%2027
,
%202024
&ADT=1&mon=true&promo="
url
=
"https://booking.flyfrontier.com/Flight/InternalSelect?o1=BNA&d1=ATL&dd1=Apr
%2027
,
%202024
&ADT=1&mon=true&promo="
cks
=
'_px2=eyJ1IjoiYTQ5MjA0MTAtMmVkMS0xMWVmLWIxYjItNDc2MTBlZGE2OGMwIiwidiI6ImE1Mjg2MzkzLTJlZDEtMTFlZi1iMGRkLTY1OWEwNjYxMjA2MCIsInQiOjYyMDIzMzg4MDAwNCwiaCI6Ijk3M2U3MDAxNzhjNjBjZjc1NTViYzVhMTUwZDE4MDI3NDExZTQ3N2U5ZDMwYmZlOGM2NTlhZGQzMmVjOWNkNWMifQ==; cts=a5286e50-2ed1-11ef-b0dd-9a0711ec23eb; _pxvid=a5286393-2ed1-11ef-b0dd-659a06612060'
cks
=
'_gcl_au=1.1.58764005.1717392295; _pxvid=9c348b2e-2169-11ef-9b1e-0063d22ef58a; cjConsent=MHxOfDB8Tnww; cjUser=2fedcdc1-f7d1-43a3-a5ff-cca256ebd3b7; _fbp=fb.1.1717392295007.598017164; _tt_enable_cookie=1; _ttp=fCed3r1bIROAD1MoXaM7YzC-Wcw; ORA_FPC=id=b2909c1d-97b9-4dde-9dec-ead5c247f99d; WTPERSIST=; _pin_unauth=dWlkPU1UazVORGhsT0RFdFpXVm1aUzAwTWpZMUxXRTRabUl0WXpRNE0yTTVZamN4TmpWaA; _up=1.2.1773743971.1717392296; _gid=GA1.2.1291449389.1718868119; _gat_UA-2678252-1=1; _ga_XXXX=GS1.1.1718868118.4.0.1718868118.0.0.1747571687; _ga=GA1.1.1241519695.1717392295; _ga_P2WLKWBNNW=GS1.1.1718868118.5.0.1718868118.60.0.0; pxcts=c7e06c67-2ed5-11ef-8f28-00777ec0662d; dtCookie=v_4_srv_3_sn_CD6FF7AB8552407175864C33BDAFA8F9_perc_100000_ol_0_mul_1_app-3Aea7c4b59f27d43eb_0_rcs-3Acss_0; _px2=eyJ1IjoiYzc4NjNkNzAtMmVkNS0xMWVmLWI3ZGEtOTk3MWE0NmUzMjgyIiwidiI6IjljMzQ4YjJlLTIxNjktMTFlZi05YjFlLTAwNjNkMjJlZjU4YSIsInQiOjYyMDIzMzg4MDAwNywiaCI6ImUyYzBlNWZhZTczNWZmOWIwMGM1NGI0MDA1ODFmMDFhMGE3Y2MwMjhjNDY1NjA2OTBjMDQ2N2QzNTcxN2VjOTIifQ==; wisepops_visitor=
%7
B
%22
P9wqzAW4cp
%22%3
A
%225054
ed3f-a1ee-4caa-898f-e793ad3abb32
%22%7
D; wisepops_visits=
%5
B
%222024
-06-20T07
%3
A21
%3
A58.264Z
%22%2
C
%222024
-06-03T05
%3
A24
%3
A54.715Z
%22%5
D; _rdt_uuid=1717392298400.1cfa304a-88a7-49b4-a0d0-5abd2639dd7b; wisepops_session=
%7
B
%22
arrivalOnSite
%22%3
A
%222024
-06-20T07
%3
A21
%3
A58.264Z
%22%2
C
%22
mtime
%22%3
A1718868125365
%2
C
%22
pageviews
%22%3
A1
%2
C
%22
popups
%22%3
A
%7
B
%22483108%22%3
A0
%7
D
%2
C
%22
bars
%22%3
A
%7
B
%7
D
%2
C
%22
sticky
%22%3
A
%7
B
%7
D
%2
C
%22
countdowns
%22%3
A
%7
B
%7
D
%2
C
%22
src
%22%3
Anull
%2
C
%22
utm
%22%3
A
%7
B
%7
D
%2
C
%22
testIp
%22%3
Anull
%7
D; wisepops=
%7
B
%22
popups
%22%3
A
%7
B
%22483108%22%3
A
%7
B
%22
dc
%22%3
A2
%2
C
%22
d
%22%3
A1718868125364
%2
C
%22
cl
%22%3
A1
%7
D
%7
D
%2
C
%22
sub
%22%3
A0
%2
C
%22
ucrn
%22%3
A64
%2
C
%22
cid
%22%3
A
%2278471%22%2
C
%22
v
%22%3
A4
%2
C
%22
bandit
%22%3
A
%7
B
%22
recos
%22%3
A
%7
B
%7
D
%7
D
%7
D'
...
@@ -37,18 +36,21 @@ for i in range(20):
...
@@ -37,18 +36,21 @@ for i in range(20):
json
=
{
json
=
{
'url'
:
'https://booking.flyfrontier.com/Flight/InternalSelect?o1=BNA&d1=ATL&dd1=Apr
%2027
,
%202024
&ADT=1&mon=true&promo='
,
'url'
:
'https://booking.flyfrontier.com/Flight/InternalSelect?o1=BNA&d1=ATL&dd1=Apr
%2027
,
%202024
&ADT=1&mon=true&promo='
,
'headers'
:
{
'headers'
:
{
"Host"
:
"booking.flyfrontier.com"
,
"accept"
:
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
,
"sec-ch-ua"
:
"
\"
Not_A Brand
\"
;v=
\"
8
\"
,
\"
Chromium
\"
;v=
\"
120
\"
,
\"
Google Chrome
\"
;v=
\"
120
\"
"
,
"accept-language"
:
"en,en-US;q=0.9,zh-CN;q=0.8,zh;q=0.7,ru;q=0.6"
,
"sec-ch-ua-mobile"
:
"?0"
,
"cache-control"
:
"no-cache"
,
"sec-ch-ua-platform"
:
"
\"
macOS
\"
"
,
"pragma"
:
"no-cache"
,
"upgrade-insecure-requests"
:
"1"
,
"priority"
:
"u=0, i"
,
"user-agent"
:
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
,
"sec-ch-ua"
:
"
\"
Not/A)Brand
\"
;v=
\"
8
\"
,
\"
Chromium
\"
;v=
\"
126
\"
,
\"
Google Chrome
\"
;v=
\"
126
\"
"
,
"accept"
:
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
,
"sec-ch-ua-mobile"
:
"?0"
,
"sec-fetch-site"
:
"same-site"
,
"sec-ch-ua-platform"
:
"
\"
Windows
\"
"
,
"sec-fetch-mode"
:
"navigate"
,
"sec-fetch-dest"
:
"document"
,
"sec-fetch-user"
:
"?1"
,
"sec-fetch-mode"
:
"navigate"
,
"sec-fetch-dest"
:
"document"
,
"sec-fetch-site"
:
"same-site"
,
"accept-language"
:
"en"
,
"sec-fetch-user"
:
"?1"
,
"upgrade-insecure-requests"
:
"1"
,
"user-agent"
:
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
,
"cookie"
:
cks
"cookie"
:
cks
},
},
'allow_redirects'
:
True
,
'allow_redirects'
:
True
,
...
...
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