gabriel-flynn/Cheap-Flight-Finder

Add Southwest Airlines

Opened this issue · 2 comments

Add Southwest Airlines

Southwest does work but there is no way to easily reverse engineer the headers as far as I can tell (no endpoint to generate a token like with spirit - it's generated client side and even when attempting to deminify/deobfuscate the javascript it isn't clear how the headers are generated). Using selenium with the chromedriver does work but after 5-10 requests or so it seems like it starts looking for mouse movement/whatever anti-bot mechanism they have starts to block requests. Getting the headers manually in the same browser will work even when the tab driven by selenium is getting 429 errors. Going to put this one on hold for now

What about trying to do something similar to https://github.com/nicolaskenner/southwest-headers