serpapi / public-roadmap

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

[Google Finance API] Error when adding window at Currency searches #1551

Closed hilmanski closed 1 month ago

hilmanski commented 2 months ago

A user reported that upon searching currency data with window parameter it shows an error. I'm able to replicate this.

It should return the data just fine: https://www.google.com/finance/quote/EUR-ARS?hl=en&window=5D

Intercom | Inspect | Playground Link

aciddjus commented 2 months ago

The issue is that the query has a - sign instead of a : sign. And we are not properly handling queries with - sign when using window parameter.

aciddjus commented 1 month ago

This issue has been resolved.

Using window parameter now works with all queries.

image

Playground