jdholtz / auto-southwest-check-in

A Python script that automatically checks in to your Southwest flight 24 hours beforehand.
GNU General Public License v3.0
463 stars 89 forks source link

Add a timeout when waiting for headers and logins to go through and a new notice notification level #281

Closed jdholtz closed 4 months ago

jdholtz commented 4 months ago

Fixes #249.

Adds a new notification level: 'Notice' messages which are non-critical warnings during reservation retrieval about timeouts while waiting for logins/headers or encountering a Too Many Requests error during login. It is the lowest notification level.

Also adds functionality to timeout after 3 minutes of waiting for a login response or headers to be retrieved. This was implemented to ensure a process doesn't hang forever and cause a deadlock while using the webdriver.