Open jasonwbarnett opened 3 years ago
I used to use this script, and it worked great when I used it. But recently, I have been using this docker container: https://github.com/jdholtz/auto-southwest-check-in It was easier to setup and cleaner and has been running like a champ. Take a look over there.
@bjhiltbrand that repo uses a browser:
https://github.com/jdholtz/auto-southwest-check-in/blob/master/requirements.txt#L4
I am looking for non browser solution if possible
This may not be directly applicable since I only ran into the error condition after I changed the code in a fork (lowered retry sleep), but it still may make sense to add exception handling for the situation where Southwest rate limits requests and returns a 429. Thinking that adding an additional sleep (i.e. 5 seconds) may make sense.
Response
Body
For reference: https://datatracker.ietf.org/doc/html/rfc6585#section-4