Google News Scraper - Cheap avatar

Google News Scraper - Cheap

Try for free

2 hours trial then $7.00/month - No credit card required now

View all Actors
Google News Scraper - Cheap

Google News Scraper - Cheap

bot_kevin/google-news-scraper
Try for free

2 hours trial then $7.00/month - No credit card required now

Easily scrape news from Google News page in .json format.

Scrape all Google News data

Our Google News Scraper allows you to extract news metadata such as title, link, source, publication date. The search is query-based but you can also extract general news by using an empty query.

The actor has a simple interface where you can specify your query as well as the language you want to use for news titles. Google News Scraper doesn't limit the number of results you can view which is a significant advantage when compared to manual browsing using Google News website. While using a regular Google News search, you'll only get approximately 100 results for your query.

How it works

1import { ApifyClient } from 'apify-client';
2
3const client = new ApifyClient({
4    token: '<YOUR_API_TOKEN>',
5});
6
7const input = {
8    "query": "food", // or null (all)
9    "lang": "en",
10    "country": "US",
11    "maxItems": 100
12};
13
14(async () => {
15
16    const run = await client.actor("bot_kevin/Google-News-Scraper").call(input);
17    const { items } = await client.dataset(run.defaultDatasetId).listItems();
18   console.log(await items);
19
20})();

Sample output

1{
2  title: 'Miss Manners: Should I have told him that his fancy food was awful? - The Mercury News',
3  description: 'Miss Manners: Should I have told him that his fancy food was awful?',
4  link: 'https://news.google.com/rss/articles/M6Ly93d3cubWVWhpcy1mYW5jeS1mb29kLXdhcy1hd2Z1bC9hbXAv?oc=5',
5  companyName: 'The Mercuryd News',
6  companyUrl: 'https://www.mercurynews.om',
7  pubDateUnix: 1709918779
8}
Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • 1 star
  • 100.0% runs succeeded
  • Created in Mar 2024
  • Modified 8 months ago