Fffrank / southwest-alerts

MIT License
19 stars 9 forks source link

Failing to get available flights #12

Closed hoopsbwc34 closed 3 years ago

hoopsbwc34 commented 3 years ago

I'm successfully logging into southwest with the script and getting my future flights, but in the following code, available is returning with "None" as if the URL request in get_available_flights() didn't work. This started abruptly last week after running successfully the several times the day before. Anyone else having this issue? Is this request also happening "logged in" to my southwest account, or is it a completely different request of the mobile API without the headers?

available = southwest.get_available_flights(
                        departure_date,
                        origin_airport,
                        destination_airport
                    )
Fffrank commented 3 years ago

I updated it a few days ago -- the request URL changed.