谷歌的图片搜索接口

  • 内容
  • 相关

谷歌的图片搜索接口

rsz:返回数量,
q:关键词 
返回类型:json
请求地址:https://www.google.com/uds/GimageSearch?callback=google.search.ImageSearch.RawCompletion&rsz=8&hl=zh_CN&gss=.cc&sig=89b1f20476290c0272a7fb93615d7756&start=40&&q=%E5%BC%A0%E9%A3%9E&imgsz=small%7Cmedium%7Clarge%7Cxlarge&context=1&key=ABQIAAAAWUT8aaIj9mtqQa087LjVOhTPB5B7LRDljl2Cr4-JwBNft1mFrRRmR1RoYEUCZCj0dtS2gIc8Al4-VA&v=1.0&nocache=1395830653522

<red>其中部分参数(key,v,sig)不能动会出问题</red>

返回实例:

google.search.ImageSearch.RawCompletion('1', {"results":[{"GsearchResultClass":"GimageSearch","width":"222","height":"260","imageId":"ANd9GcTvGw39sSpRUce0EecAsJ_iug5xmFTlkrKt-fTcrDa9wDx1oHspS3zHNTk","tbWidth":"96","tbHeight":"112","unescapedUrl":"http://know.zwbk.org/ImageUpload/20121130/20121130150846_0951.jpg","url":"http://know.zwbk.org/ImageUpload/20121130/20121130150846_0951.jpg","visibleUrl":"know.zwbk.org","title":"真实的\u003cb\u003e张飞\u003c/b\u003e其实面如美玉风流倜傥-知识社区-中文百科","titleNoFormatting":"真实的张飞其实面如美玉风流倜傥-知识社区-中文百科","originalContextUrl":"http://know.zwbk.org/detailPosts-13004.shtml","content":"\u003cb\u003e张飞\u003c/b\u003e的一般形象,满面络腮,","contentNoFormatting":"张飞的一般形象,满面络腮,","tbUrl":"http://t2.gstatic.com/images?q\u003dtbn:ANd9GcTvGw39sSpRUce0EecAsJ_iug5xmFTlkrKt-fTcrDa9wDx1oHspS3zHNTk"}],"cursor":{"resultCount":"1,390,000","pages":[{"start":"0","label":1},{"start":"1","label":2},{"start":"2","label":3},{"start":"3","label":4},{"start":"4","label":5},{"start":"5","label":6},{"start":"6","label":7},{"start":"7","label":8}],"estimatedResultCount":"1390000","currentPageIndex":0,"moreResultsUrl":"http://www.google.com/images?oe\u003dutf8\u0026ie\u003dutf8\u0026source\u003duds\u0026start\u003d40\u0026imgsz\u003dsmall%7Cmedium%7Clarge%7Cxlarge\u0026hl\u003dzh-CN\u0026q\u003d%E5%BC%A0%E9%A3%9E","searchResultTime":"0.12"}}, 200, null, 205)

包括图片宽高,地址,来源等信息。


不要问我有什么用,从哪里来!我特么也不知道从哪里来有啥用

本文标签:

版权声明:若无特殊注明,本文皆为《鬼少》原创,转载请保留文章出处。

本文链接:谷歌的图片搜索接口 - http://tv1314.com/post-155.html

发表评论

电子邮件地址不会被公开。 必填项已用*标注

00:00 / 00:00
顺序播放