Inspiration

I have been ordering groceries for pick up more often due to the pandemic. I normally make a grocery list then have to manually add all of those things to my online cart. I wanted to find a way to make this process less tedious.

What it does

Grocerybot searches for each item on a grocery list, one at a time. There are two different modes to choose from:

  1. Auto mode: automatically adds the first search result to the cart.
  2. Assist mode: automatically searches for each item, but allows you to pick which result to add to the cart.

How we built it

I used python and selenium to automate a Firefox browser.

Challenges we ran into

Figuring out how to stay signed in, handling many possible search results (out of stock, no item found, etc.), avoiding bot detection

Accomplishments that we're proud of

Assist mode may actually be useful outside of this proof-of-concept.

What we learned

Browser automation can be both easy and hard, but it is definitely useful.

Share this project:

Updates