Google Reverse Image Search via API?

徘徊边缘 提交于 2019-12-25 08:26:11

问题


Is it possible to perform a reverse image search via the Google Custom Search API using https://www.google.com/searchbyimage?&image_url=<URL> or https://www.google.com/searchbyimage?site=search&sa=X&image_url={YOUR_IMAGE_URL}, as I think sending direct requests to the servers and scraping the results is against the TOS. This method was suggested here, but I am unsure if this can be done through the API or not, to avoid violating the TOS if possible.

This example GET https://www.googleapis.com/customsearch/v1?key=INSERT_YOUR_API_KEY&cx=017576662512468239146:omuauf_lfve&q=lectures was given by Google in their documentation, so I was thinking if there was possibly a way to POST the previous URL's in a similar fashion.

Thank you.


回答1:


As far I've noticed on the official Google Custom Search forum, that is the most requested feature, but that is not possible - at the moment. And I don't know if / when it will be.



来源:https://stackoverflow.com/questions/42484945/google-reverse-image-search-via-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!