mirror of
https://github.com/pyro2927/SouthwestCheckin.git
synced 2025-12-06 01:13:19 +00:00
southwest: add channel id header (#64)
This commit is contained in:
@@ -29,7 +29,7 @@ class Reservation():
|
|||||||
|
|
||||||
USER_EXPERIENCE_KEY = str(uuid.uuid1()).upper()
|
USER_EXPERIENCE_KEY = str(uuid.uuid1()).upper()
|
||||||
# Pulled from proxying the Southwest iOS App
|
# Pulled from proxying the Southwest iOS App
|
||||||
return {'Host': 'mobile.southwest.com', 'Content-Type': 'application/json', 'X-API-Key': API_KEY, 'X-User-Experience-Id': USER_EXPERIENCE_KEY, 'Accept': '*/*'}
|
return {'Host': 'mobile.southwest.com', 'Content-Type': 'application/json', 'X-API-Key': API_KEY, 'X-User-Experience-Id': USER_EXPERIENCE_KEY, 'Accept': '*/*', 'X-Channel-ID': 'MWEB'}
|
||||||
|
|
||||||
# You might ask yourself, "Why the hell does this exist?"
|
# You might ask yourself, "Why the hell does this exist?"
|
||||||
# Basically, there sometimes appears a "hiccup" in Southwest where things
|
# Basically, there sometimes appears a "hiccup" in Southwest where things
|
||||||
|
|||||||
Reference in New Issue
Block a user