serpapi / public-roadmap

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

[Google Search API] Scrape different `labels` for `top_stories` #1681

Closed marm123 closed 2 weeks ago

marm123 commented 2 weeks ago

This is pretty much the same request as in https://github.com/serpapi/public-roadmap/issues/1644 (thank you @ocvit for implementing the feature!), but the user let us know that there are also different labels we can return. Currently, they are returned as video: true, although they are not really videos.

Maybe we can return something like lable: video or label: interview? I'm not sure if that's possible though?

image

Playground | Inspect Intercom

ocvit commented 2 weeks ago

Oh, we can return normalized strings instead, like {..., label: "video" / "interview" / "by the numbers"}. So it will be more generic.

ocvit commented 2 weeks ago

Fix has been released.

Labels are generic now.

Screenshot 2024-06-14 at 15 37 59