Closed CloCkWeRX closed 3 weeks ago
curl 'https://www.saveonfoods.com/sm/pickup/rsid/2210/' \
-H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
-H 'accept-language: en-GB,en;q=0.9,en-US;q=0.8,de;q=0.7,es;q=0.6,fr;q=0.5' \
-H 'cache-control: max-age=0' \
-H 'cookie: CUSTOMER_SESSION_ID_COOKIE=https://www.saveonfoods.com|7134a445-4606-4c7d-a3f1-54b51609d36f; TIMEOFFSET_COOKIE_NAME=630; __cf_bm=.IYeulR2_68exR57XSuLm_goCFx8_kqrPc3BBuyRblE-1712007790-1.0.1.1-plxzeS_99sAmbpR_gbutzw96vHE0l91H6Br7O_mFzdEA2a_ec2vdMl7Oi6E0RwQpxV9ZOF5Tz8J.lMCPWSaZldFvBnwkQ5um8f2poooike0; MI9_SHOPPING_MODE=pickup; MI9_RSID=2210; cf_clearance=8KZHvZsJaTeTnAYwRgSuQA98JidTu0r0bvZez8uLyEY-1712007794-1.0.1.1-9.tp0P9U_a2eYeW8yIjcF9OzcubUoBPrxjkP_P9K2nrpxB.1mnwzxkc2n_0ikwGPmbSJ2_Ids3sq1vuYpc1mwQ; SHOW_PLACEHOLDER_NOTIFICATIONS=false' \
-H 'dnt: 1' \
-H 'sec-ch-ua: "Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "Windows"' \
-H 'sec-fetch-dest: document' \
-H 'sec-fetch-mode: navigate' \
-H 'sec-fetch-site: same-origin' \
-H 'sec-fetch-user: ?1' \
-H 'sec-gpc: 1' \
-H 'upgrade-insecure-requests: 1' \
-H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36'
has some kind of jsblob
"availablePickupStores": {
"total": 179,
{
"id": "b1bcfd2f-8461-44ff-a369-cc9285c9a68d",
"status": "Active",
"type": "Regular",
"name": "Valleyview",
"addressLine1": "2101 East Trans Canada Highway",
"addressLine2": "Unit 9",
"addressLine3": null,
"countyProvinceState": "British Columbia",
"postCode": "V2C 4A6",
"city": "Kamloops",
"country": "Canada",
"email": null,
"phone": "(250) 374-4343",
"retailerStoreId": "2209",
"timeZone": "America/Vancouver",
"currency": "CAD",
"openingHours": "Everyday 8 AM - 9 PM",
"location": {
"longitude": -120.2676142,
"latitude": 50.6790905
},
"languages": [{
"isoCode": "en-CA",
"isDefault": true
}],
"siteId": "ec1b18a0-1634-4368-82ce-22f1e891f3cb",
"urls": [],
"categoryHierarchyId": "92317192-d5b8-49e5-b5f3-91d268753e26",
"shoppingModes": ["pickup", "planning"]
}
Brand name
Save-On-Foods
Western Canadian supermarket chain
Wikidata ID
Q7427974 https://www.wikidata.org/wiki/Q7427974 https://www.wikidata.org/wiki/Special:EntityData/Q7427974.json
Store finder url(s)
Official Url(s): http://www.saveonfoods.com
pipenv run scrapy sf --brand-wikidata=Q7427974 http://www.saveonfoods.com