Format for a url that goes to Google image search?

后端 未结 5 1319
一整个雨季
一整个雨季 2021-01-31 07:11

I have a web page which has links at the bottom like this:

- photos of rome
- 

        
5条回答
  •  遇见更好的自我
    2021-01-31 07:56

    Use the "images" keyword instead of "search" (this should also work for "videos", "maps", etc.)

    http://www.google.com/images?q=your+search+terms
    

    https://productforums.google.com/d/msg/websearch/No-YWMdgFp8/l_SNghlwCV0J

    Update

    Following Chris F Carroll's comment below, I had a look with Fiddler. The /images request results in a 301 (moved permanently) response with the redirect URL in the format www.google.com/search?q=search+terms&tbm=isch as described by other answers here.

    Contrary to what I said above (taken from the linked article), the /video request doesn't work. /maps does work, and doesn't result in a redirect.

提交回复
热议问题