Commit 44a3003e authored by wang's avatar wang

test

parent 33db1c14
......@@ -212,7 +212,7 @@ class Reese84ByPass(object):
"authority": "booking.api.flyscoot.com",
"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",
"cookies": f"Bearer {self._token}",
"authorization": self._token,
"cache-control": "no-cache",
"content-type": "application/json",
"origin": "https://booking.flyscoot.com",
......@@ -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"
}
url = "https://booking.api.flyscoot.com/flights/availability"
data = {"flightCriteria": [{"origin": "SIN", "destination": "ADL", "departureDate": "2024-06-30"}],
data = {"flightCriteria": [{"origin": "SIN", "destination": "ADL", "departureDate": "2024-07-30"}],
"passengerCriteria": {"adult": 1, "child": 0, "infant": 0}, "currencyCode": "SGD", "promoCode": "",
"salesCode": None,
"flightFare": {"fareType": [], "productClass": ["E1", "E2", "E3", "E4", "E5", "J", "P4", "J4"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment