-
-
Notifications
You must be signed in to change notification settings - Fork 89
If running on windows, does config file even matter? How do I know if I'm getting notifications succesfully #327
-
Hi there, novice programmer here so forgive my ignorance in asking these questions.
Assuming by using Windows we don't make use of the config file (maybe it is for Docker use only?), how do I simultaneously monitor 2 accounts? Do I run the southwest.py script then add an account after it's been triggered? How do I do that within the CLI?
Thanks in advance!!! |
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment · 11 replies
-
It looks set up correctly, so I'm not sure why it isn't picking up the account and reservation in the config file. Is the config.json file in the same directory as
Not right now. In the past, I've always opted not to do that as I think it is out of the scope of this project. However, I can definitely see that being in a similar project that monitors flight prices more generally. Although, Southwest makes this hard and SW flights are usually not on third-party flight searches.
Many people in the past have reported SW blocking them when they use a VPN (maybe Southwest knows the common VPN IPs?). You're welcome to give it a try, but it may have mixed results. I certainly don't think they would ban you from flying, given how few people use this script compared to their millions of customers. Their plan to stop bots from scraping their website appears to be from creating better bot-detection algorithms rather than banning individuals (which I think is also a much better way to do so). |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
Here is the log: 2025-01-06 12:38:02 DEBUG MainProcess[log:24]: Initialized the application 2025-01-06 12:38:02 DEBUG Process-2[reservation_monitor:65]: Acquiring lock... |
Beta Was this translation helpful? Give feedback.
All reactions
-
I don't really see any reason a notification should not be sent, especially because the test notification went through. Just to verify, executing the command As shown in the Apprise documentation for the windows URL (here), there is a 250-character limit. However, if more are sent it just appears to cut off the text after 250 characters. Could you try running the script with just the reservation, not any account? Perhaps it sees 9 flights scheduled (which is a notification with a lot of text) and somehow doesn't work or make future notifications work. I guess you can also try upgrading Apprise to the latest version using |
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.
All reactions
-
You will only receive notifications when a script schedules flights, finds lower fares, checks in, or runs into an error during scheduling or checking in (e.g. wrong credentials or failing to check in). You shouldn't receive notifications every hour (unless you schedule a new flight or have a check in).
Notification level 1 is to send "Notices" as well which are basically non-critical warnings (webdriver timeouts and reaching a Too Many Requests error during login) so that shouldn't change anything here.
Notifications are set up to only trigger on events in the first part of this message. You will not get pings through your notification url every time the script attempts to retrieve your reservations. The Healthchecks url will do this though. Every time it does a fare check, you will receive a ping in your Healthchecks dashboard. Then you can set up special alerts using Healthchecks to notify you if they are failing (or really any situation you want). By the way, the 403 error is an issue this script has faced for the past year due to Southwest getting better at detecting bots. It's an issue that has and is still being worked on for this script. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you for the detailed responses!! |
Beta Was this translation helpful? Give feedback.
It looks set up correctly, so I'm not sure why it isn't picking up the account and reservation in the config file. Is the config.json file in the same directory as
southwest.py
? Also, could you send the first ~20 lines of the verbose output from the script (using the-v
flag in the command line)? That'll help me debug what is going on.Not right now. In the past, I've always opted not to do that as I think it is out of the sc…