-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fare checker monitors wrong fares #92
Comments
If I understand your question correctly, this is expected. Southwest does not have any more fares available for that flight (according to your screenshot), so the script just sets the price difference to the default of 0. Is there something else that you expected it to do? |
The screen actually shows that there are flights available unless I'm mistaken? |
You will notice that the flight is the 2nd one that would cost additional points/$ |
Oh, so it picked the wrong flight? Currently, it only checks the departure time, so I will have to add a check for the arrival time as well. |
Ah bingo! |
Hey @babehboi. I published a fix on the fix_wrong_flight_fare branch. Could you test it out to verify that it works? |
Maybe instead of looking at departure time/arrival time, it would be better to compare the flight numbers to be certain it is the same flight. It's hard to imagine an edge case where there's a flight departing and arriving at the exact same time, but I also thought just checking departure time was safe so... you never know. |
I thought of that as well, but apparently the JSON that is received from Southwest for the flight has an array of |
Hey there, just got around to pulling your update: remote: Enumerating objects: 9, done.
followed with: python3 southwest.py --verbose 2023-05-15 07:34:20 DEBUG Process-3[fare_checker]: Found 10 matching flights I was thinking on your thought process too about flight numbers, not sure if the flight number will show both as in this case they both start with the same flight number and have separate legs? After running it again, WGARED still an issue? Maybe I'm doing something wrong? |
That was mainly the reason I was hesitant about using flight numbers. I wanted to ensure the correct flight was picked and I didn’t know if a round trip flight could have the same flight number.
Is your flight’s departure time at 6:05 AM and arrival time at 2:55 PM? |
Yup! The screenshot shows the flight we've booked. |
Oh sorry, I did not see that in the screenshot. Is the fare still available? What website are you using to view the fares? The website the script requests to is https://mobile.southwest.com/air/change/shopping/adult/outbound/results. I attached a screenshot below of what that page looks like for me, which is different than the one you showed. I get the same display when checking a flight that was purchased with points as well. |
I did a screenshot via goign to www.southwest.com, but let me see what happens when I go on the phone...as of this morning it was still available. |
Thanks for verifying. Could you add the line |
Oh, I see the problem. The changes I made don’t seem to be applied to the fare checker. I changed the line a few lines above that ( Edit: It appears that you never switched to the branch. That’s my fault as I should have told you how to do that from the start. |
I think that seemed to work. Yeah, I definitely didn't know how to switch the branch, I figured I should have looked that up, but learned something new today. Here's the output. Seems to be working =). I'll put in the rest of the config file now and see how that fairs. 2023-05-15 13:44:36 DEBUG Process-1[checkin_scheduler]: Removing departed flights. Currently have 1 flights scheduled |
Awesome. Thanks for all the testing you did! |
Description
So I noticed something interesting based on the logs. Noticed that it stated WGARED not available.
It appears this may be due to when the checker is checking points versus paid fare?
I've added some screenshots to confirm if this is a supported feature.
To Reproduce
Expected Behavior
Not sure, this could be expected and not a supported feature.
Version
4.0
Additional context
2023-05-12 13:33:17 DEBUG Process-3[fare_checker]: Found 10 matching flights
2023-05-12 13:33:17 DEBUG Process-3[fare_checker]: Fare WGARED is not availiable. Setting price difference to 0 USD
2023-05-12 13:33:17 DEBUG Process-3[fare_checker]: Flight price change found for 0 USD
The text was updated successfully, but these errors were encountered: