Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-reese84
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
lcc-reese84
Commits
44a3003e
Commit
44a3003e
authored
Jul 16, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
33db1c14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
reese84_bypass.py
src/reese84_bypass.py
+2
-2
No files found.
src/reese84_bypass.py
View file @
44a3003e
...
@@ -212,7 +212,7 @@ class Reese84ByPass(object):
...
@@ -212,7 +212,7 @@ class Reese84ByPass(object):
"authority"
:
"booking.api.flyscoot.com"
,
"authority"
:
"booking.api.flyscoot.com"
,
"accept"
:
"application/json, text/plain, */*"
,
"accept"
:
"application/json, text/plain, */*"
,
"accept-language"
:
"en,en-US;q=0.9,zh-CN;q=0.8,zh;q=0.7,ru;q=0.6"
,
"accept-language"
:
"en,en-US;q=0.9,zh-CN;q=0.8,zh;q=0.7,ru;q=0.6"
,
"
cookies"
:
f
"Bearer {self._token}"
,
"
authorization"
:
self
.
_token
,
"cache-control"
:
"no-cache"
,
"cache-control"
:
"no-cache"
,
"content-type"
:
"application/json"
,
"content-type"
:
"application/json"
,
"origin"
:
"https://booking.flyscoot.com"
,
"origin"
:
"https://booking.flyscoot.com"
,
...
@@ -248,7 +248,7 @@ class Reese84ByPass(object):
...
@@ -248,7 +248,7 @@ class Reese84ByPass(object):
"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"
"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"
}
}
url
=
"https://booking.api.flyscoot.com/flights/availability"
url
=
"https://booking.api.flyscoot.com/flights/availability"
data
=
{
"flightCriteria"
:
[{
"origin"
:
"SIN"
,
"destination"
:
"ADL"
,
"departureDate"
:
"2024-0
6
-30"
}],
data
=
{
"flightCriteria"
:
[{
"origin"
:
"SIN"
,
"destination"
:
"ADL"
,
"departureDate"
:
"2024-0
7
-30"
}],
"passengerCriteria"
:
{
"adult"
:
1
,
"child"
:
0
,
"infant"
:
0
},
"currencyCode"
:
"SGD"
,
"promoCode"
:
""
,
"passengerCriteria"
:
{
"adult"
:
1
,
"child"
:
0
,
"infant"
:
0
},
"currencyCode"
:
"SGD"
,
"promoCode"
:
""
,
"salesCode"
:
None
,
"salesCode"
:
None
,
"flightFare"
:
{
"fareType"
:
[],
"productClass"
:
[
"E1"
,
"E2"
,
"E3"
,
"E4"
,
"E5"
,
"J"
,
"P4"
,
"J4"
],
"flightFare"
:
{
"fareType"
:
[],
"productClass"
:
[
"E1"
,
"E2"
,
"E3"
,
"E4"
,
"E5"
,
"J"
,
"P4"
,
"J4"
],
...
...
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