serpapi / public-roadmap

Public Roadmap for SerpApi, LLC (https://serpapi.com)
50 stars 3 forks source link

[Google Search API] Carousel `extensions` attribute missing items #1892

Closed dsojevic closed 3 days ago

dsojevic commented 1 week ago

I was going through my fixtures and found that some carousel results with multiple extensions only return with the first extension, eg: image

HTML | JSON | Playground

Here is my fixture where both extensions are returned (and it is what I expect is the correct result for this type of carousel result): https://github.com/dsojevic/scc/blob/dsojevic/rich-result-extraction/spec/fixtures/rammstein-members-search-grid/expected-array.json#L6-L9

Here is a diff to show what is missing:

  {
    ...
    "mitglieder": [
      {
        "name": "Till Lindemann",
        "extensions": [
+         "Hauptgesang"
-         "Hauptgesang",
-         "Seit 1994"
        ],
        "link": "https://www.google.de/search?sca_esv=28dfaa03791165ca&gl=de&hl=de&q=Till+Lindemann&stick=H4sIAAAAAAAAAONgFuLQz9U3MEvJjlfiBLGMMwrLc7Xks5Ot9HNLizOTIWRiTnx6UX5pgVVuam5SalHxIla-kMycHAWfzLyU1NzEvDwAcGXRLUkAAAA&sa=X&ved=2ahUKEwi6of_hzZCIAxUwD1kFHYGOHHYQ9OUBegQINRAD",
        "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google&gl=de&google_domain=google.de&hl=de&location=Germany&q=Till+Lindemann&stick=H4sIAAAAAAAAAONgFuLQz9U3MEvJjlfiBLGMMwrLc7Xks5Ot9HNLizOTIWRiTnx6UX5pgVVuam5SalHxIla-kMycHAWfzLyU1NzEvDwAcGXRLUkAAAA",
        "image": "https://serpapi.com/searches/66cb61bff3cbfa0502b54867/images/f927d4abcb4fadff0e43618ccba7e5a6282453fe245fc23c7a8826a033b562ba16267ad65c4be7bd.jpeg"
      },
      {
        "name": "Richard Kruspe",
        "extensions": [
+         "Leadgitarre"
-         "Leadgitarre",
-         "Seit 1994"
        ],
        "link": "https://www.google.de/search?sca_esv=28dfaa03791165ca&gl=de&hl=de&q=Richard+Kruspe&stick=H4sIAAAAAAAAAONgFuLQz9U3MEvJjlfiBLGMMwqLK7Xks5Ot9HNLizOTIWRiTnx6UX5pgVVuam5SalHxIla-oMzkjMSiFAXvotLiglQAFontFUkAAAA&sa=X&ved=2ahUKEwi6of_hzZCIAxUwD1kFHYGOHHYQ9OUBegQINRAF",
        "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google&gl=de&google_domain=google.de&hl=de&location=Germany&q=Richard+Kruspe&stick=H4sIAAAAAAAAAONgFuLQz9U3MEvJjlfiBLGMMwqLK7Xks5Ot9HNLizOTIWRiTnx6UX5pgVVuam5SalHxIla-oMzkjMSiFAXvotLiglQAFontFUkAAAA",
        "image": "https://serpapi.com/searches/66cb61bff3cbfa0502b54867/images/f927d4abcb4fadff0e43618ccba7e5a6282453fe245fc23cd89aa07ccad380a00e02730366f0b0bc.jpeg"
      },
      {
        "name": "Christian Lorenz",
        "extensions": [
+         "Synthesizer"
-         "Synthesizer",
-         "Seit 1994"
        ],
        "link": "https://www.google.de/search?sca_esv=28dfaa03791165ca&gl=de&hl=de&q=Christian+Lorenz&stick=H4sIAAAAAAAAAONgFuLQz9U3MEvJjlfiBLGMM4oMsrTks5Ot9HNLizOTIWRiTnx6UX5pgVVuam5SalHxIlYB54yizOKSzMQ8BZ_8otS8KgBxnPYQSwAAAA&sa=X&ved=2ahUKEwi6of_hzZCIAxUwD1kFHYGOHHYQ9OUBegQINRAH",
        "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google&gl=de&google_domain=google.de&hl=de&location=Germany&q=Christian+Lorenz&stick=H4sIAAAAAAAAAONgFuLQz9U3MEvJjlfiBLGMM4oMsrTks5Ot9HNLizOTIWRiTnx6UX5pgVVuam5SalHxIlYB54yizOKSzMQ8BZ_8otS8KgBxnPYQSwAAAA",
        "image": "https://serpapi.com/searches/66cb61bff3cbfa0502b54867/images/f927d4abcb4fadff0e43618ccba7e5a6282453fe245fc23cef1c596e3d3fd9584926bfce01925046.jpeg"
      },
      {
        "name": "Christoph Schneider",
        "extensions": [
+         "Schlagzeug"
-         "Schlagzeug",
-         "Seit 1994"
        ],
        "link": "https://www.google.de/search?sca_esv=28dfaa03791165ca&gl=de&hl=de&q=Christoph+Schneider&stick=H4sIAAAAAAAAAONgFuLQz9U3MEvJjlfiBLGMMwqrCrTks5Ot9HNLizOTIWRiTnx6UX5pgVVuam5SalHxIlZh54yizOKS_IIMheDkjLzUzJTUIgBgHWlgTgAAAA&sa=X&ved=2ahUKEwi6of_hzZCIAxUwD1kFHYGOHHYQ9OUBegQINRAJ",
        "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google&gl=de&google_domain=google.de&hl=de&location=Germany&q=Christoph+Schneider&stick=H4sIAAAAAAAAAONgFuLQz9U3MEvJjlfiBLGMMwqrCrTks5Ot9HNLizOTIWRiTnx6UX5pgVVuam5SalHxIlZh54yizOKS_IIMheDkjLzUzJTUIgBgHWlgTgAAAA",
        "image": "https://serpapi.com/searches/66cb61bff3cbfa0502b54867/images/f927d4abcb4fadff0e43618ccba7e5a6282453fe245fc23c47d4c87b8948d1b55675e876e1a2ef96.jpeg"
      },
      {
        "name": "Paul Landers",
        "extensions": [
+         "Rhythmusgitarre"
-         "Rhythmusgitarre",
-         "Seit 1994"
        ],
        "link": "https://www.google.de/search?sca_esv=28dfaa03791165ca&gl=de&hl=de&q=Paul+Landers&stick=H4sIAAAAAAAAAONgFuLQz9U3MEvJjlfiBLGMMwrLjLTks5Ot9HNLizOTIWRiTnx6UX5pgVVuam5SalHxIlaegMTSHAWfxLwUIBcA0CIXQUcAAAA&sa=X&ved=2ahUKEwi6of_hzZCIAxUwD1kFHYGOHHYQ9OUBegQINRAL",
        "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google&gl=de&google_domain=google.de&hl=de&location=Germany&q=Paul+Landers&stick=H4sIAAAAAAAAAONgFuLQz9U3MEvJjlfiBLGMMwrLjLTks5Ot9HNLizOTIWRiTnx6UX5pgVVuam5SalHxIlaegMTSHAWfxLwUIBcA0CIXQUcAAAA",
        "image": "https://serpapi.com/searches/66cb61bff3cbfa0502b54867/images/f927d4abcb4fadff0e43618ccba7e5a6282453fe245fc23c4c7c24599103a6bc67022d356be35d09.jpeg"
      },
      {
        "name": "Oliver Riedel",
        "extensions": [
+         "Bass-Gitarrist"
-         "Bass-Gitarrist",
-         "Seit 1994"
        ],
        "link": "https://www.google.de/search?sca_esv=28dfaa03791165ca&gl=de&hl=de&q=Oliver+Riedel&stick=H4sIAAAAAAAAAONgFuLQz9U3MEvJjlfiBLGMMworSrTks5Ot9HNLizOTIWRiTnx6UX5pgVVuam5SalHxIlZe_5zMstQihaDM1JTUHABO8qddSAAAAA&sa=X&ved=2ahUKEwi6of_hzZCIAxUwD1kFHYGOHHYQ9OUBegQINRAN",
        "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google&gl=de&google_domain=google.de&hl=de&location=Germany&q=Oliver+Riedel&stick=H4sIAAAAAAAAAONgFuLQz9U3MEvJjlfiBLGMMworSrTks5Ot9HNLizOTIWRiTnx6UX5pgVVuam5SalHxIlZe_5zMstQihaDM1JTUHABO8qddSAAAAA",
        "image": "https://serpapi.com/searches/66cb61bff3cbfa0502b54867/images/f927d4abcb4fadff0e43618ccba7e5a6282453fe245fc23c9ffbcbc06ed9946f6cb74a7411dcd078.jpeg"
      }
    ],
    ...
  }
hilmanski commented 1 week ago

Thank you very much, @dsojevic, for your report. I appreciate the detailed information you share. We will investigate it and share an update.

Inspect

Alaa-abdulridha commented 3 days ago

This issue had been resolved.

Before resolving the issue (production):

image

After resolving the issue (production):

image