Get **last month or last year** google news using api

814 Views Asked by At

I have been trying get google news for the past month and the past year. I have tried the following url but I cannot figure out what is the date parameter and what should be passed to it.

  1. http://news.google.com/news/section?cf=all&ned=us&q=healthcare&num=10&output=rss

  2. http://news.google.com/news/feeds?hl=en&q=healthcare&ie=utf-8&num=10&output=rss

1

There are 1 best solutions below

0
On

According to the source:

  • as_qdr=m past month
  • as_qdr=y past year

Notice that due to Google News API is deprecated, maybe some parameters are no longer functional.

Check also this answer on Stack Overflow and its comments for get even more info about Google News API.