当offset = 0
时,我得到了这些信息:
{
"id": "https:\/\/api.cognitive.microsoft.com\/api\/v7\/#WebPages.1",
"name": ""Hello, World!" program - Wikipedia",
"url": "https:\/\/en.wikipedia.org\/wiki\/Hello_world_program",
...
}
当offset = 1
(> 0)时,我得到了这些(这是我所需要的)
{
"id": "https:\/\/api.cognitive.microsoft.com\/api\/v7\/#WebPages.0",
"name": ""<b>Hello, World</b>!" program - Wikipedia",
"url": "https:\/\/en.wikipedia.org\/wiki\/Hello_world_program",
...
}
PS:Bing Search API v5.0和v7.0遇到相同的问题。