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
5dfb9547
Commit
5dfb9547
authored
Jun 30, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nk test
parent
c346e22d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
f91.js
src/f91.js
+3
-0
test_search.py
test_search.py
+6
-6
No files found.
src/f91.js
View file @
5dfb9547
...
...
@@ -727,6 +727,9 @@ class PxBypass {
proxy
:
this
.
prox
,
random_tls
:
false
,
}));
if
(
res
.
data
.
status_code
===
403
){
throw
new
Error
(
"初始化403"
)
}
Object
.
assign
(
this
.
cookies
,
res
.
data
.
cookies
)
// console.log(res.data)
}
...
...
test_search.py
View file @
5dfb9547
...
...
@@ -10,7 +10,8 @@ headers = {
"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="
cks
=
'ASP.NET_SessionId=4j0qt5jtrtrvnpunwjlxkrp2; __RequestVerificationToken=URP9p1M0WXK9blqrrt758BvenjQnivBcymbFHmtX3GUHIG6yP3ZO99v0tK9albBSgzTclmnIu1gTQ2BrmT5e-028_4uvUJSD_o8Plr2naMUEZGwhn-PC8Sa2lNt9WkHgStxr5A2; dotrez=!aa8Qj8tmUWOjmnVeETst66jrHkkuvzcgsFbvjzpwR6Js+HmqtGw2a+jegk14cPfW2YlTa1TjdBD/eA==; dtCookie=v_4_srv_2_sn_39FC5EA169260817595B77FD05AB6861_perc_100000_ol_0_mul_1_app-3Aea7c4b59f27d43eb_1_rcs-3Acss_0; _pxhd=c3d2c8814621a2a695c090994f632a63ce67a9f8813bfde1234fa265fad82d8a:551f2830-32d8-11ef-99df-d6f0e8bcc991; _px2=eyJ1IjoiNWNiODFmNzAtMzJkOC0xMWVmLTk4MzktMGQyNTYxMGM3OTI4IiwidiI6IjVkMzA5MWJhLTMyZDgtMTFlZi04YjQ5LWU2YzQ5MjcxODYwNiIsInQiOjE3MTkzMDkzNDI1MDIsImgiOiIwN2Q3MjFiNWMxOWI2MWUzNWFjOWVlY2MxNjM5MWM0ZTk4ZGU4MjFlNzc0ODUxMjY4ZmJjYTBjZTNkNzI0MzJjIn0=; pxcts=5d30a020-32d8-11ef-8b49-8592419e0b0a; _pxvid=5d3091ba-32d8-11ef-8b49-e6c492718606'
cks
=
'ASP.NET_SessionId=nr1nd0hit30afkmakrsbh2dp; __RequestVerificationToken=GOT0QNNSSMPF0hBiEWgwJJcm0_jUo53a-yIUSCvUUmzi0Afh799UAYPDLBJ5-kX3o0yb8diveF0fPHNyp_hp_wXX1kLfkzsTgSoxQrG5t-9WbWJGzERD8fNW4F6d7OcvsMG5EQ2; dotrez=!RBS2Pjxj1Nurxhouf6ZSo6dUbzw/bo+sTCMQs2HE7R+3Bh+Mut2JQIMUKYxTLZLXbnpCdriIOdSTAQ==; dtCookie=v_4_srv_3_sn_E75CD7DDB0B58E4AB52B7467BBE0A372_perc_100000_ol_0_mul_1_app-3Aea7c4b59f27d43eb_0_rcs-3Acss_0; _pxhd=faec0bc27c2e30da056b228fbb4af66bbf4592804083a47fe0f15e1b346bf9f7:f948f75a-36a0-11ef-95ff-39404eca06aa; _px2=eyJ1IjoiMDU5NWU5ODAtMzZhMS0xMWVmLTljOWYtZGYyYTNiYTk3YjE5IiwidiI6IjA4Njg0YzhkLTM2YTEtMTFlZi1iNmU5LWNkM2MzNTlmOGM2NCIsInQiOjE3MTk3MjUzODAyNjMsImgiOiIwOGRlZTJhNmY2N2MzNmM2MTlkMDQ3Yzk3YTRjNjVhODY3ZTg3ZDcyMTQyNDFiM2UwNDdiNzJkZmJhNjkyZGM1In0=; pxcts=0868594d-36a1-11ef-b6e9-a1aa61fb6035; _pxvid=08684c8d-36a1-11ef-b6e9-cd3c359f8c64'
...
...
@@ -40,11 +41,10 @@ prox = 'http://uni00002_custom_zone_US2_sid_4428759_time_5:FdkiGHty9a@us.ipwo.ne
for
i
in
range
(
20
):
# prox = 'http://127.0.0.1:7890'
# url = "http://httpbin.org/ip"
response
=
requests
.
post
(
'http://52.52.23.116/tls/forward'
,
#
response = requests.post('http://52.52.23.116/tls/forward',
# response = requests.post('http://lcc.unififi.com/tls/forward',
# response = session.post('http://127.0.0.1:58000/tls/forward',
# response = requests.post('http://192.168.50.197:58000/tls/forward',
response
=
session
.
post
(
'http://127.0.0.1:58000/tls/forward'
,
# response = requests.post('http://192.168.50.197:58000/tls/forward',
json
=
{
'url'
:
'https://booking.flyfrontier.com/Flight/InternalSelect?o1=DEN&d1=LAS&dd1=2024-07-30&ADT=1&umnr=false&mon=true'
,
'headers'
:
{
...
...
@@ -69,7 +69,7 @@ for i in range(20):
'debug'
:
True
,
'method'
:
"GET"
,
'proxy'
:
prox
,
'random_tls'
:
Tru
e
,
'random_tls'
:
Fals
e
,
}
...
...
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