Is there a way to get bing and google news search as rss?

16.3k views Asked by At

Is there a way to get Google and Bing news searches as RSS?

I'd like to have the most recent at the top of the results (ordered by time) if possible.

And show 100 results if that is possible.

I found this for Google, but it only shows 5 items or so, not that great.

https://news.google.com/news/feeds?output=rss&q=politics

I just want to search their news categories and get results as RSS.

6

There are 6 answers

1
Julien Genestoux On

Your best bet is somthing like Google Alerts feeds. You can type a query select the type of data in there and get it delivered via RSS. Since they support PubSubHubbub for that, you will also get results in realtime.

If you want another dataset feel free to also check Superfeedr's track feeds which will help you get notified in realtime when keywords are matched across any RSS feed.

3
Bruce Momjian On

I think Google disabled the RSS search output in the past few weeks, and I have not found an alternative. The XML output requires a Google paid account. I now have to scrape the HTML for what I want.

0
Prasanna On

Here's the new way to access Google News RSS feeds:

https://news.google.com/news/rss/search/section/q/{yourquery}

3
guest On

Try adding

&output=rss
https://news.google.com/news/section?cf=all&ned=us&q=education**&output=rss**
0
its_me On

You are right that Google no longer publicly shows RSS feeds for News searches. But there's a basic URL format that should continue to work.

If my search topic is "education", my search URL should look like:

https://news.google.com/news/section?cf=all&ned=us&q=education

Replace:

  • value of ned (probably stands for 'news edition'), i.e. us with the appropriate country code that's relevant to you. E.g. uk (not gb for UK), in (India), etc.

  • value of q (probably stands for 'search query'), i.e. education with your search term. Combine multiple words with a plus sign, e.g. education+policy (if your search is for 'Education Policy').

Now the RSS feed button in your browser should've become active because an RSS feed is available for the page. It shows 10 latest news items in the feed, not 5. And the RSS feed URL would look like this:

https://news.google.com/news/feeds?cf=all&ned=us&hl=en&q=education&output=rss

Conclusion: RSS feeds aren't available for actual searches, i.e. typing in the search box on Google. You'd have to do it like this.

(PS: Credit goes to the question itself. It would not have occurred to me otherwise.)

0
Mustapha Ghazali On

The custom RSS feed is in this format:

https://news.google.com/news/feeds?q={yourquery}&output=rss.  

For example, https://news.google.com/news/feeds?q=developer&output=rss returns news about developer.