Commit 33db1c14 authored by wang's avatar wang

test

parent bb35b16b
...@@ -209,26 +209,21 @@ class Reese84ByPass(object): ...@@ -209,26 +209,21 @@ class Reese84ByPass(object):
def _get_cookie(self): def _get_cookie(self):
headers = { headers = {
"authority": "ibe.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}",
"cache-control": "no-cache", "cache-control": "no-cache",
"content-type": "application/json", "content-type": "application/json",
"origin": "https://makeabooking.flyscoot.com", "origin": "https://booking.flyscoot.com",
"pragma": "no-cache", "pragma": "no-cache",
"sec-ch-ua": "\"Not_A Brand\";v=\"120\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\"", "sec-ch-ua": "\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\"",
"sec-ch-ua-mobile": "?0", "sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"macOS\"", "sec-ch-ua-platform": "\"macOS\"",
"sec-fetch-dest": "empty", "sec-fetch-dest": "empty",
"sec-fetch-mode": "cors", "sec-fetch-mode": "cors",
"sec-fetch-site": "same-site", "sec-fetch-site": "same-site",
"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"
"x-scoot-appsource": "IBE-WEB",
"x-scoot-client-environment": "PROD",
"x-scoot-client-session": "10fc46d7-b488-4ba6-a7a4-46660a2e136b",
"x-scoot-client-version": "0.0.0",
"authorization": f"Bearer {self._token}",
} }
return headers, self._session.cookies.items() return headers, self._session.cookies.items()
......
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