Skip to content

Use Google News API to obtain the latest global news for your project, including a wide range of sources, headlines, URLs, and publication dates from the Google News platform.

Notifications You must be signed in to change notification settings

oxylabs/google-news-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

google-news-scraper

Oxylabs promo code

Use Google News API to find and extract the freshest public news worldwide for your project. Retrieve an extensive list of sources, titles, URLs, and dates from published articles all over the Google News portal.

  • Get real-time data for quality research and analysis
  • Access localized results without blocks
  • Scale your projects as much as you need

Google News API for quality data delivered in seconds

To scrape Google News articles, send a request with a URL to our API, and you will receive API results in HTML format. You can find the output example on the right and input code samples in our documentation.

{
    "results": [
        {
            "content": "<!DOCTYPE html><html lang=\"en-US\" dir=\"ltr\" style=\"cursor: pointer;\"><head><script src=\"https://apis.google.com/_/scs/abc-static/_/js/k=gapi.gapi.en.hh2Jqle7bK0.O/m=gapi_iframes,googleapis_client/rt=j...",
            "created_at": "2023-08-04 12:37:34",
            "updated_at": "2023-08-04 12:38:35",
            "page": 1,
            "url": "https://news.google.com/topics/CAAqJAgKIh5DQkFTRUFvS0wyMHZNSFp3YWpSZlloSUNaVzRvQUFQAQ?hl=en-US&gl=US&ceid=US%3Aen",
            "job_id": "7093208344944452609",
            "status_code": 200
        }
    ]
}

Smart web scraping with API features

Custom Parser Parse any web page according to your needs by sending your own parsing instructions to our API.

  • Maintenance-free parser
  • Custom parsing logic with XPath and CSS selectors
  • Get ready-to-use structured data

Scheduler Easily automate your projects by scheduling repetitive scraping and parsing tasks at any frequency.

  • Create a custom schedule for each job
  • Automatically retrieve data to your cloud storage
  • Get notified once each job is complete

Contacts

Email - [email protected]
Live chat

About

Use Google News API to obtain the latest global news for your project, including a wide range of sources, headlines, URLs, and publication dates from the Google News platform.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published