Closed brussrus closed 5 years ago
So I loaded the new code on my home server. Installed everything and was able to do a price search and get data. My problem though is that when I go to enter my information for specific flights I cannot seem to enter any data for email or phone number, which kind of defeats the purpose of the tool for me as I don't want to manually have to check for newer prices but get an email automatically. Is this just me? Why am I not able to tab into or enter data on those lines?
I appear to have fixed my problem with entering an email address (still can't add phone number but I do not have any environment variables set for PLIVO. I think the original problem may have been related to the format of the files. Originally, I downloaded the code in a zip file and all the files were still in unix format when viewing them (carriage, line feed, etc.) When I grabbed the code via the GitHub Desktop they were properly converted to a Windows readable format for me.
Now when I compiled it and created an alert I was able to tab to the email address. Everything looks good there but I do have one issue still and that has to do with modifying any of my alerts after initial creation. When I go to my server and click on an alert it just hangs. I see the browser attempting to go to what appears to be the ID for the alert but nothing happens. It just times out. I wanted to change the price of an alert so that I wasn't getting inundated with emails as the price had dropped but I had no way to change it via the webserver page because of this problem. I actually had to go into the MongoDB and modify the record directly.
Fixed the problem by modifying a single line in the history-graph.js file. Calling the clonedeep from the newer full lodash module as opposed to the standalone module: const cloneDeep = require('lodash/clonedeep');
I'm still running the last build of this with a local Redis server and it appears this is no longer working. I'm confused if switching to the new build will fix anything as the Readme makes it sound like this tool doesn't work. So does it? If I run this on a local server am I being blocked because of the headless checks Southwest uses. I don't want to do a big switch to mongodb if the actual scraping of prices is still not going to work. Their website comes up fine through a normal browser so just wondering if I replace the new price grab js code will fix my problem.