首页 文章

谷歌自定义搜索结果发布日期

提问于
浏览
2

可以使用 &as_qdr=y15 在浏览器中在Google搜索上显示结果的发布日期 . 示例Link

enter image description here

我需要在google自定义搜索API上获取此信息

https://www.googleapis.com/customsearch/v1?key=KEY&q=pala%20jewellers%20cannon%20park%20coventry

API会在网页上提供 article:published_time ,但这并不适用于所有页面Google also estimates a page date based on features of the page such as dates in the title and URL .

如何从Google Custom Search API获取Google估计的页面日期?

1 回答

  • 0

    自定义搜索API仅在其HTML源中提及时才返回页面的 metadata . 你可以看看我对Get Date From Google Custom Search API的回答 .

    浏览器中显示的日期可能是Google发现并将该页面编入索引的日期 . 或者它可能是页面智能报废的输出(即通过在页面内容中查找“ last updated " or " published on ”等关键字) .

相关问题