[BUG]: google-sr not returning any results
Google appears to have fully deprecated support for non-JavaScript browsers, which previously allowed us to fetch the query result page without executing heavy Javascript. This means our existing approach no longer works unless we introduce a headless browser to execute the JavaScript on Google’s search pages.
This is related to #53, where we had bypassed the JavaScript requirement by spoofing an older browser user agent. That workaround is no longer effective.
As a result, google-sr should be considered in a deprecated state for the foreseeable future.
If you have any solution please feel free to comment them.
is there a fix?
I am lookin into using a headless browser, but that is obv heavy and will not be usable for some users.
What about using mobile phone user agent maybe google didn't applied js restrictions everywhere?
What about using mobile phone user agent maybe google didn't applied js restrictions everywhere?
~Maybe? will check a mobile user agent when i get the chance~
~~All mobile browsers i checked still required js, still searching for solutions.~~
No solution unfortunately, please use the official API or another library that provide a actual browser based solution package is deprecated
RIP https://blog.google/technology/safety-security/serpapi-lawsuit/
With the googles lawsuit and stuff, i don't think i can manage this repository, thanks for using the package. it will be archived soon