1

在此处显示的 Taylor Swift 示例请求之后,我得到以下响应,该响应与站点上显示的响应不匹配。此外,我对没有以相同方式返回的字段articleBody感兴趣。detailedDescription是否有未反映在文档中的 API 更新?有没有办法articleBody通过Python API请求?

{
  "@context": {
    "@vocab": "http://schema.org/",
    "goog": "http://schema.googleapis.com/",
    "EntitySearchResult": "goog:EntitySearchResult",
    "detailedDescription": "goog:detailedDescription",
    "resultScore": "goog:resultScore",
    "kg": "http://g.co/kg"
  },
  "@type": "ItemList",
  "itemListElement": [
    {
      "@type": "EntitySearchResult",
      "result": {
        "@id": "kg:/m/0dl567",
        "name": "Taylor Swift",
        "@type": [
          "Thing",
          "Person"
        ],
        "description": "American singer",
        "image": {
          "contentUrl": "http://t0.gstatic.com/images?q=tbn:ANd9GcST848UJ0u31E6aoQfb2nnKZFyad7rwNF0ZLOCACGpu4jnboEzV",
          "url": "https://en.wikipedia.org/wiki/Begin_Again_(Taylor_Swift_song)"
        },
        "url": "http://taylorswift.com/"
      },
      "resultScore": 1237.141968
    }
  ]
}
4

0 回答 0