I had to build a web scraper to buy groceries
utkuufuk.com
utkuufuk.com
All the others let you fill your cart, then at checkout tell you there are no slots available until the end of time. Waste of time, energy, and hope. F U, Target, Safeway, Albertsons, and Kroger.
My other top choice is a small (three store) chain in Western Washington called Central Market [1]. (If the name seems familiar, it may be from season 10 of "Top Chef" which was set in Seattle. Top Chef normally sends the contestants to Whole Foods for most shopping, but this was before there were any Whole Foods in the Seattle Area. They used the Shoreline Central Market instead).
They don't have a mobile app or online way to check stock that I know, but they seem to be doing the most of any grocery store I've seen to deal with the virus when it comes to in-store shopping.
1. They've got separate cart return and cart pickup areas in front of the store. Every cart returned gets disinfected before being put into the pickup.
2. They have installed plexiglass shields in the checkout lanes between you and the cashier.
3. They have prominent marks on the floor for you to stand at while inline that provide good spacing.
4. After each customer checks out, they disinfect the conveyor belt area and the credit card terminal area.
They are also nowhere near as crowded as Walmart, and the people that shop there seem to be paying more attention to social distancing.
I'm not sure where this story originated. The first Whole Foods in the Seattle area* predates the filming of that season by about a decade and is closer to downtown Seattle than any of the Central Markets.
(*the Roosevelt Square store, still at the original location)
But just today using the app I opened it and it asked me to confirm a time slot for my next pickup. No items in my cart - just choose a time, lock it in, and add my items later.
In my area at least, online + curbside pickup was not very common in the past, so it maybe was previously a non-issue because a slot was generally available. Glad to see they’ve made some quick adjustments.
During the Corvid pandemic the programmers are the only ones who’re gonna get fed XD
There are still no slots at all available anywhere for either delivery or collection though.
However, the 'correct' way is to pick the slot first, as that way you can see what's out of stock as you shop - this does put you on a time limit though, as the slot can only be held for 1 hour (I think).
So it's not enforced, but it is preferable.
---
[1] pre-corvid-crisis
The click-and-collect as well as delivery shops are all like this around here. Terrible experience, even without COVID.
I live in the UK and most of the online stores let you pick the delivery slot after filling the basket, which is an infuriatingly poor UX, given the current circumstances.
Ocado has slots for existing customers. They took a while to get it right but they now have limits on orders per week and show you slots for the next few days. If they are empty just try again later and your basket is still there. I had a delivery a couple of days ago.
I hope not too many people try to subvert systems like this with a script to grab slots, because they're just contributing to the problem.
Ocado in the UK has the best model in my experience - allowing you to reserve a delivery slot before shopping if you want, but not enforcing this. Unfortunately they have also been the worst-affected from a surge in customers from a technical standpoint and were bordering on unusable for a week.
Additionally, Asda had an unticked, opt-out tickbox for its spam email ("news and special offers" etc). That's a dark pattern and illegal under the GDPR.
Fuck those people. Unfortunately, everybody else I tried to order from online is out of stock or closed, or it's Amazon where you can buy a can of beans for the price of a brand new Mazeratti (I exaggerate).
Why would you trust an unknown group of people to take all the proper precautions? Who picked the item by hand? Who is this bringing it to your door? Are you sure they washed hands? Did they accidentally sneeze on anything? Is the vehicle sanitary? Also, I would imagine people doing these jobs are probably at higher risk of being exposed, just by nature of traveling & being in public all the time.
I would rather trust my own skills to be responsible and protect myself, rather than other unknown entities to touch all my stuff. All the supermarkets I’ve been to have someone at the door sanitizing carts as the hand them too you. I am hyper aware of avoiding touch anything unnecessary. I can keep as much distance from people as I want. I know my hands are clean when I start, and then avoid touching my face until I sanitize after.
Delivery isolates. Yes your driver and handler could be infected, but so could you.
I don't think you're eliminating a vector by going out yourself. Not significantly, if at all.
Maybe for me it’s just a good reason to escape the prison of my house :)
Someone had to stock the shelves that morning.
I've been keeping my groceries in the bag, sticking the entire thing in the refrigerator, and then not touching it for at least 24 hours.
The only thing delivery/curbside pickup changes is reducing the time spent breathing in close proximity to other people.
Unfortunately, this won't do anything to kill/remove the virus, and may potentially make it last longer. You should be washing your items with soap or spraying them with isopropyl alcohol.
All of these risks are already present from the stockers and checkout at the grocery store, which is why you should wash/cook everything they touch. Even if most of your items are contaminated, you can still keep yourself safe.
>I can keep as much distance from people as I want.
They can also get as close to you as they want, and one unlucky interaction can make you sick. Limiting your contact to one driver who will do what you say is safer.
Either way it’s a good reason to get me out of the house, which a hard to come by now days :) It’s good for my mental health. I can’t let myself just sit around being afraid of the world. This thing isn’t voodoo magic. I’m confident I can safely handle myself in public.
I don't know if this will help or hurt, but by the time you pick it up off the shelf it's been handled by plenty of people.
If we both go to the store, you can infect me and the people working in the store. If the store delivers to you, it is easier to make sure you (the customer) do not infect anyone (they can leave the goods outside, no need for close interaction).
As others mentioned, a lot of people will interact with the goods before you - but it is much more feasible for a store to train and equip a handful of people to take precautions, than to expect the public at large to do so - just a simple thing like not being able to change in a proper wardrobe before entering the store, means customers are a lot more "dangerous" than staff.
However, from a public health perspective you should only use delivery services if you're in an at-risk group. Otherwise you're just transferring your risk onto another person and also doubling the number of people who could be infected by this trip to the store (assuming you live alone).
I've seen this, and similar, opinions about grocery stores that just illustrates how detached the public is from modern food supply chains.
Do you have any idea how many hands touch your food before it gets on your plate? From the fields (where works probably urinate while on the job) to the shelves, it passes through probably 10s if not 100s of hands.
[1] https://www.msn.com/en-ca/health/medical/close-to-40percent-...
This is odd statistic to give, considering it's not normalized by how many 20-54 year olds are there. So I clicked through to the original study[1] and found a more helpful figure: people between the ages of 20-44 have a hospitalization rate of 14.3%-20.8%, and an ICU admission rate of 2.0%-4.2%.
[1] https://www.cdc.gov/mmwr/volumes/69/wr/mm6912e2.htm?s_cid=mm...
Further, according the the underlying report, of the 22-44 year olds admitted to the hospital, only 2-4% went to the ICU. The 75–84 bracket had 11%–31% admitance to the ICU.
Of the deaths reported, 80% were over 65, while the other 20% was 20–64.
Yes, this virus can kill anyone, but statiscally speeking, it is far more likely to kill you when you are old. If there is a limited supply of a protective messure, we should prioritize giving it to the far more vulnerable.
[0] https://en.wikipedia.org/wiki/Demographics_of_the_United_Sta...
obese, diabetic, or cardiovascular condition means you're in a risk group, regardless of age.
pretty sure the relatively high numbers cited in the us are partly a statistical fluke resulting from the way the sample was generated and partly due to higher rates of metabolic disease etc in the us compared to european or asian countries
I’m not yet 40. I have bought all of my food online and had it delivered for years now. Should I now begin exposing myself to the infection risks posed by going inside a grocery store?
This may sound like snark but it’s not. I’m curious about the opinions of people who feel this way.
Potentially exposing oneself to a lethal virus is indeed a huge burden, and I do not agree that anyone is obligated to put themselves at risk.
Probably the fairest way to do it is everyone gets in the queue instead of competing for spots, and limits are enforced to help spread demand.
I think this is really great. When I go it's often crowded because people are still panicking.
If 1 person infects 10 prevention of one transmission can save a 1000.
Everyone ought to do curbside pick up or delivery for everything.
Not a great experience if you want to just access your account, or some general information on the website, like contact info, or delivery times.
This should negate any technical advantage from a sophisticated entity. Queues still work, if managed properly.
But I think you wouldn't need it with upfront payment and some simple anti-hoarding rules.
Also the delivery address or payment id could be used in a way to make this fair.
How does this deal with bots that places orders on other people's behalf?
If I were setting this up for a grocery delivery platform, I would require the delivery address be provided upfront to enter the queue. Validate and standardize the address using the official Postal Service API (in the US). Prohibit changing the delivery address once in the queue, and prohibit the same address from appearing in the queue multiple times. Those requirements eliminate the mechanical possibility and incentive to partake in any sort of hoarding or profiteering using bots.
I guess the idea is to put everyone in one queue, rather than having separate queues per day/slot. Presumably this isn't an issue since everyone's on lockdown anyways, so they're always available to accept a delivery.
And now you've just excluded all the doctors, nurses, police officers, firefighters, and their families from using the service.
Supermarkets don’t have that problem - their goods are not that exclusive and not sought after at scale (anyone wanting to resell the products at scale can get them cheaper from the manufacturer directly).
You can say that about literally anything. The value of anything goes up if it's liquid.
It just means the price paid or received is closer to the consensus valuation.
...and that's rendered ineffective by SaaS bot companies that take your account logins and payment details and places the orders on your behalf, for a fee of course[1]. The economically efficient solution would be to auction off the slots, so at least the grocer is reaping the profit rather than some third party. It also has the benefit of capitalizing the grocer so they can hire more people and/or buy more equipment so there are more slots in total. Also, if it bothers you that some FAANG programmer can afford deliveries than some old granny, this can be alleviated by reserving a certain % of the slots to "needy" people (eg. old, disabled, sick, immunocompromised) subject to validation.
[1] kinda like https://en.wikipedia.org/wiki/Domain_drop_catching
That's not what I'm saying. Rather than buying a slot (or an account) from the bot operator, you'd give the bot operator your order and address/account/payment info, so when the slots become available, the bot operator can place an order on your behalf.
They need an option for people who are flexible with their delivery times, put in your order and they assign you a delivery slot when one opens up.
If a bot can do that, then amazon can just do it themselves and actually improve the user's experience.
How many people are working from home right now that don't can _when_ groceries get delivered other than "the next available slot"
A food delivery auction would in some segments drive up the cost drastically when some can least afford it fuelling panic. This panic would fuel buying and hoarding.
Meanwhile the poor flock to the shelves to buy before the rich can pay to have it all delivered for hoarding.
Surge pricing for groceries during a crisis may be one of the worse ideas I've seen on hacker news.
Some companies have databases that know the layouts in each address but many do not.
Why not a longer queue? I don't know, but I'd guess people forget about their order and buy redundant things, causing support and customer satisfaction problems, if the queue is longer than 4 days.
On some sites, apparently queue-jumping is as simple as disabling javascript (n.b. Ocado [1] have been in the game longer than most, and this does not work on their site).
If I can’t get groceries, it’s not the end of the world for me, since I can call on family if necessary, but I’d rather not make their stressful life any worse right now, since I’m not the only one in my family’s circle that needs help.
There are no great answers, since I might have taken a slot from someone that can’t write a web tool to scrape Amazon, and doesn’t have a family to fall back on. It sucks on many levels.
Also, if you have Amazon Fresh, Amazon's Whole Foods, or Amazon Pantry (just opened again) available in your area, 3rd party price gougers aren't really an issue.
I know I shouldn't do that, my doctor has advised me against it, but I have a headache today and this made it worse and I can't help myself so: this is an oxymoron. If everybody is staying at home, then supermarkets cannot be crowded. If supermarkets are crowded, then everybody is not staying at home. Both things can't be happening at once.
It’s the difference between maintaining a bunch of scripts and making sure they don’t stop working abruptly, and having the data you wanted without headaches.
It also wouldn’t make for such an elaborate article, but that’s the cost of simplicity if you just want to get things done.
Our system then books their pickup order at midnight when the new pickup slots are opened. We are seeing that most pickup slots are filled for the next day by 9am.
It is interesting that the stores don't allow booking several days in advance anymore. It makes sense though because even with booking for the next day we are seeing that 25% to 50% of the order is substituted due to out of stocks.
My script isn't fully ready, but it's 75% complete and I'll complete the final 25% when I really do need it.
Also, these things are quite easy to make, so I expect a lot of techies to eventually do this.
Someone remind me please.
Declaring the requests session, doing get on the homepage and then doing get on the endpoint
It will also prevent issue with session expiration
I think maybe I'd have gone down to every 5 minutes, to be a little nicer to the end-point (especially when sharing the code) - otoh once a minute isn't to much of a hammer, I guess.
How to do this?
As any invention it can be reinvented.
Organic farmers started doing deliveries 20 years ago, to compete with the big warehouse boxes.
Especially the phone one can easily be brute-forced (small search space). I wonder why they hash this in the first place?
I hope they're salted...
Good job.
Don’t be that ass who makes others do your shopping just coz you’re too afraid to.
Online: you need someone to stock the orders and wait for people to drive up for curbside pickup. Chance of infection: low.
Surely the second option is both safer and more efficient?
I've tried food deliveries provided by two local major grocery chains. As far as I understand, one of them has the stock-shelving people pack the deliveries (so, before hitting the shelf), and the other seems to pack pack the direct deliveries in the same logistics centres from which they supply their smaller shops, so that stuff never even gets delivered to a store; and the limited overhead means that they offer free delivery for non-small purchases.
edit: not star, hub and spoke, sorry
Still, if the stores handle this themselves - it's much more feasible to take extra precautions - from using a locker room to change into a uniform (not bringing outdoor/home clothes into the store) - to using disposable gloves etc.
Ideally, stores would offer only pickup and delivery - and not allow in-store shopping at all.
Would probably make sense to increase staff as needed, as any additional staff needs would scale with increase in revenue.
My esteem goes to those working in the stores, at the tills etc.