Google uses various techniques to avoid scrapers, so trying to scrape Goole Products actually takes a lot of effort. Simply passing a header to your request won't help you too much in this case.
From my perspective, your best approach with Google Scraping would be to implement your project around an already build service, like a SERP Scraping API.
For example, WebScrapingAPI has a SERP engine specially designed for Google Products scraping. Here is an implementation project in Python:
import requests
API_KEY = '<YOUR_API_KEY>'
SCRAPER_URL = 'http://serpapi.webscrapingapi.com/v1'
PARAMS = {
"api_key":API_KEY,
"engine":"google_product",
"product_id":"11607214845071611155"
}
response = requests.get(SCRAPER_URL, params=PARAMS)
print(response.text)
Response example:
{
"search_parameters": {
"google_url": "https://www.google.com/shopping/product/11607214845071611155?sourceid=chrome&ie=UTF-8",
"engine": "google",
"google_domain": "google.com",
"device": "desktop",
"query": "11607214845071611155"
},
"product_results": {
"title": "Smart TV LG 32LM6300PLA 32\" Full HD LED WiFi Black",
"reviews": 5,
"rating": 4.5,
"extensions": [
"HDR",
"Flat",
"High Definition",
"1080p",
"LED",
"50 Hz",
"1920 x 1080",
"CEC Enabled",
"Bluetooth",
"Wi-Fi"
],
"description": "With Active HDR technology, the TV delivers pinpoint detail by remastering each scene as you watch. That means you'll see the brightest and darkest shades in the same image, and still notice the most subtle differences in colour. Whether you're catching up with soaps or following your team in league, everything you watch appears vibrant and sharp.Endless entertainment Never run out of shows and movies to watch. With webOS, there's something to keep the whole family entertained. Binge through the shows everyone's talking about on Netflix and Amazon Prime, discover new music with Spotify or even download games. And with Freeview Play, you get instant access to the past seven days of TV shows on BBC, ITV, Channel 4 and loads more.Virtual Surround Sound When you're watching the latest blockbuster or the big match, you want big sound to match the great picture. The LG LM6300 features Virtual Surround Sound technology, which creates virtual audio channels to give you a more immersive viewing experience.",
"media": [
{
"type": "image",
"link": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcQINTT3P6Z_q58ZPTEy4hKQHj_7b-vsOYX4q9a3RDlPIky1FeTSpA3xoYcywYlrxI8X0xDOh-jkbIldx3QgwoqAMNSOv-8_tSBzYNvZT6E_w_cl6HatQg&usqp=CAY"
},
{
"type": "image",
"link": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcSwOr9qlt_KLBIr-phEPyzhIq9EymyhIUIZ_PhNLAvouBzxaI6G4YveVXKfUvyxEu3RsLLswTwqwoy-JpZ0lYELOTkdcc3UWHP09mABfilOlAEETUOhCoM&usqp=CAY"
},
{
"type": "image",
"link": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcQT1csgmkiC2QR0tVdg3AImgluvjtwzmIKGverwwiEyBd3O7u1vNedcIJTGQVlbJVxz8D3N6gDnx1Lyqxn-vpDZZm38sXW-65d_x08Iz5Rx6YegsmQosQ&usqp=CAY"
},
{
"type": "image",
"link": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcRRpqUbHi6zpdOab9xQ4Q8MY_7G1AW-r2sOU87QjiHHVs04h1W6b0cAPz6c17oTVixrbj-J0dWJG1wO5484vQiBpOsmgbwnIsUKYsc9I_iqY7nkcfMAL1E&usqp=CAY"
},
{
"type": "image",
"link": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcR0cCrmwxYqqXtRzFmT5S_UGlMjy74h998Pd5jPm1F8znen0i824CMwQ8oj7fZApks_x_XBbQxLzBHdG_Rn-TljNN87Xgxz-s4ljR1M8fW-f9UgrKKDmg&usqp=CAY"
},
{
"type": "image",
"link": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcQZt7oi8V-Gqay0yZwSoqD-fcPY94WaJOCrh2updsmlWbGuDEWkMUvUq23oo9vbE2JPa8PqOz7N3aVOekVwWlrohk0ZKpWQ3oI3uQL1tcpxsgBarPj1Mg&usqp=CAY"
},
{
"type": "image",
"link": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcTiwaHx50k0MPvnFkpK8gGoO8Qv3CYngQWkd47PDWVXTAkXSozzqGSFnh4af0INBMePxyaG9Iq11f9tBIItQHpSo-fCz25p1NUDNYQIsw&usqp=CAY"
},
{
"type": "image",
"link": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcRmdla-RC1GbIXe9khJF3jsKqOCD8RSb54NTjdwjAmfg-olr9rIgoqKVBsAqUOp_GoEqN22WfeaIw7FO6xnnCyhXiXMYWZ4RFxle2ut3dHRx9_1DiNZmg&usqp=CAY"
},
{
"type": "image",
"link": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcSzJIB0y2cFoNXRPh_HIWwWLEjhZeaqxTTTIKFvXLywSOkSrzpTum5myhBnR0amntBZz2yQQ_YS-qgdzSaU9gtPctFvEnG7E7gNyK1rG195amElYLY0hJA&usqp=CAY"
},
{
"type": "image",
"link": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcQdW-d9-o7bVLhALy8BqZ68D0tQ1jwxRudQTs1Mq-6srUSB857QEHPKPRqvw27amKu5D0DQ6PZyaP3c_2xW70cRbydgEis6X42c6IBbvM_jBF_6-9lFRQ&usqp=CAY"
},
{
"type": "image",
"link": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcSGnsayZ7mWE-w4mTIk6EqZagU4Rgjy4Ib8FpLnDFqvQg_720I93GayvoqTPSZJ4RN1H2UdVSfxT_qmi9RE7KRtNodgtr6EG34Gd-xlWOgfI0syJcnmF78&usqp=CAY"
},
{
"type": "image",
"link": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcRroibKiR2ZO6C3Ks0OCJOxyFPOCcjiVumLL4LPbCLMD-AxUqtMg62JXiMjtsIe6dUisf8pgXQbwrMp6y4CMsPvUqg6s34VOF4Wne6s6ryNXIOI6Q3EaQ&usqp=CAY"
},
{
"type": "image",
"link": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcSvLC9_ERl1Ph8mxwuOSTT6xl-m_k08ep5djaKfJpoVM7_fg9ZBAeXR_c8m5XaFDF397VhTWl_T4TepXwRHt8xPlnBy66D7ZWKxTCF1&usqp=CAY"
},
{
"type": "image",
"link": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcTZ24rvO-JIOyf4YA_cn_r9e12djiANxYslpb-IUKnA3Xdnr75anHsHBP4ttXrgZE4vEJpBv_G4vSanItJ7TQj9YQX1_PjQFyFx9OiZT3ffEYypwayjSQ&usqp=CAY"
}
]
},
"specs_results": {
"processor": "Quad Core",
"sound": "10 W",
"power_supply": "Electric Network",
"energy_consumption": "50 kWh/annum",
"energy_classification": "A"
},
"reviews_results": {
"ratings": [
{
"rating": 3591,
"stars": 5
},
{
"rating": 1080,
"stars": 4
},
{
"rating": 191,
"stars": 3
},
{
"rating": 92,
"stars": 2
},
{
"rating": 98,
"stars": 1
}
],
"reviews": [
{
"rating": 4.5,
"source": "We're using this as a display for various STBs, without an aerial/satellite connection. It's a huge improvement over our 15yo Samsung. Setup was simple, wi-fi connection rock solid, and I'm impressed with how responsive WebOS is to remote button commands. I'm used to slow and buggy UIs on TVs but that's not the case here. Getting everything set up and connected took less than an hour, without needing to refer to comprehensive manual. Only minor hitch is that Disney+ doesn't seem to be available but we have access via our STB so no big issue. Would be nice to have it on the TV though. Our previous screen was only 720p so picture quality is unbelievable. Natural colours, good sound - dialogue very clear from the internal speakers. Obviously you can't really push the ... More",
"content": "October 29, 2021",
"position": 1
}
]
}
}