LuanRT / google-this

A simple yet powerful module to retrieve organic search results and much more from Google.

Home Page:https://www.npmjs.com/package/googlethis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bad image results

Migushthe2nd opened this issue · comments

commented

Question

The image search feature returns many not very relevant or straight up bad images. And example of the module's results on the left
image
I'd like to use the module to search for product images. I have tried providing, hl=nl, cr=countryNL but this has not improved the results returned. I expect the module not to make requests with the same context as using google directly, but these current results are basically worthless.

Is it possible to improve these using some other query parameter?

Other details

No response

Checklist

  • I am running the latest version.
  • I checked the documentation and found no answer.
  • I have searched the existing issues and made sure this is not a duplicate.
  • I have provided sufficient information.
commented

Alright I switched to the Bing image search api. Managed to extract the API key WhatsApp uses to find suggested group icons.
Have fun RDQxRDhDRDk4RjAwQjIwNEU5ODAwOTk4RUNGODQyN0U0RjRBNzQ5Mg== (decode from base64 first)

Edit: this is not an API key, but an appid. Append it together with the other query parameters to the bing API url: ?appid=....

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

not stale

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.