serpapi / public-roadmap

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

[Yandex Search API] Results from API are different than via regular search #1997

Open marm123 opened 2 days ago

marm123 commented 2 days ago

One of our users reported that they are not getting the same results via SerpApi as they are through regular Yandex searches. I've discovered that the yandex_url contains the rstr parameter, which is always the negative of the lr (ref). I'm not exactly sure what this parameter does, but after removing it, the results are the same as through regular search:

Results with the rstr parameter: image

Results with no rstr parameter (very similar to the ones the user gets with multiple pages of results):

image

Public links: Playground

Internal links: Intercom | Search Inspect

hilmanski commented 2 days ago

Another customer reported this issue.

Expected result:

1a16ce35e1dff0ef5d12f4ccd9dc4869685289c9

received this instead: 58a26ef8ec2c1dc0cfdcd87ce0b79b9ff08494b6

I've tried to switch using different regions, but unfortunately, I can't replicate the original result. Based on the screenshot, customer using lr=10553, which is not available on our supported location.

I tried locally removing the rstr parameter; the result is closer. CleanShot 2024-10-01 at 13 09 08

Internal links: Front | Inspect | Inspect with lr 84