Updates:
I got messages about how to get this script to work on Windows. Since I don't have a Windows machine on hand, sorry I can't help more.
You don't have to install Git for any of this to work. Just go here and download the repo as a ZIP file and unzip it on your computer.
For those who couldn't find /user/local/bin
, you don't need to put ChromeDriver there. You can put it in any folder as long as you put the actual path inside webdriver.Chrome().
It should work!
(Also posted in my personal blog.)
Data scientist Pooja Ahuja (GitHub) wrote a Python script that automatically sends verbal notification (literally a voice saying "Slots for delivery opened!"😂) as soon as a Whole Foods or an Amazon Fresh delivery slot is open. She offered detailed instructions for how to use her script. Within 2 seconds of running this script, I found a delivery slot within the next 2 hours. I live in Berkeley so the waiting time may differ for other cities and states...
However, some Reddit users mentioned that as non-coders, they would benefit from this script but didn't know how to. I thought it may be useful to thoroughly document the steps I took so non-coders and non-Python users can also find delivery slots that they desperately need. (Instructions are specific to macOS and Chrome.)
You need a Python 2 environment to run the script.
python -V
or python2 -V
(if your default environment is Python 3). See python 2.7.XX
? Then you already have Python 2!In your terminal, type cd /PATH
to set your working directory to where you want the GitHub repo to be.
cd /Users/apple/Desktop/food
/PATH
part?
Go to Finder → click on "Help" and then search "path" → select "Show Path Bar"
Go to your target folder → right click folder name in path bar → copy it as Pathname
Download the repo to your working directory: git clone <https://github.com/pcomputo/Whole-Foods-Delivery-Slot
>
Now set your working directory to the new folder: cd Whole-Foods-Delivery-Slot
Check your Chrome version (to see if it's 79, 80, or 81): click "Chrome" → then "About Google Chrome"
Go here and download a ChromeDriver that matches your Chrome version
After downloading and unzipping the file, put it in /usr/local/bin
/usr/local/bin