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

时间:2018-02-20 18:27:43

标签: google-api google-custom-search

结果的发布日期可以使用&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自定义搜索API获取Google估计的页面日期?

1 个答案:

答案 0 :(得分:0)

仅当HTML源中提到页面时,Custom Search API才会返回页面的metadata。您可以看看我对Get Date From Google Custom Search API的回答。

浏览器中显示的日期可能是Google发现该页面并将其编入索引的日期。或者它可以是页面的智能报废的输出(例如,通过在页面内容中查找“ last updated”或“ published on”之类的关键字)。

相关问题