Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在过去的一个月和过去的一年里,我一直在尝试获取谷歌新闻。我尝试了以下网址,但我无法弄清楚日期参数是什么以及应该传递给它的内容。
http://news.google.com/news/section?cf=all&ned=us&q=healthcare&num=10&output=rss
http://news.google.com/news/feeds?hl=en&q=healthcare&ie=utf-8&num=10&output=rss
根据消息来源:
as_qdr=m 上个月 as_qdr=y 过去一年
请注意,由于 Google News API 已弃用,可能某些参数不再起作用。
还要检查 Stack Overflow 上的这个答案及其评论,以获得有关 Google News API 的更多信息。