1.搜索接口
https://pic.sogou.com/pics/json.jsp?query=xxx&start=0&xml_len=30
参数(query):
query:关键字
start:页码
xml_len:需要返回的数量,可以自己定义
2.例子
正确姿势:https://pic.sogou.com/pics/json.jsp?query=情侣头像&start=0&xml_len=30
成功返回
{
"totalNum": 336,
"painter_doc_count": 0,
"video": "",
"tag": "[\"头像\",\"情头\",\"动漫情侣\",\"情侣\",\"动漫\",\"抖音\",\"古风\",\"王者荣耀\",\"卡通\",\"男生\",\"动漫头像\",\"蜡笔小新\",\"可爱\",\"猫和老鼠\"]",
"groupPic": null,
"blackLevel": 5,
"shopQuery": false,
"items"