Interesting repo! Instead of scraping with Beautiful Soup, it might be simpler to consume JSON directly using a query like this:
https://www.ocado.com/webshop/products?skus=<id1>,<id2>,...
which returns:
{
"23476011": {
..
"product": {
"outOfStock": false,
"name": "New York Bakery Co. Plain Bagels",
"price": {
"currentPrice": "£1.90"
Hi there,
Interesting repo! Instead of scraping with Beautiful Soup, it might be simpler to consume JSON directly using a query like this:
https://www.ocado.com/webshop/products?skus=<id1>,<id2>,...
which returns: