Iceloof / GoogleNews

Script for GoogleNews
https://pypi.org/project/GoogleNews/
MIT License
314 stars 88 forks source link
google googlenews news pypi pypi-package python python3

GoogleNews

Build Status Coverage Status PyPI PyPI - Downloads PyPI - Python Version PyPI - Wheel GitHub contributors GitHub issues GitHub Action GitHub

Install

pip install GoogleNews

or

pip install --upgrade GoogleNews

Usage

Default return first page result, you don't need to get first page again, otherwise you might get duplicate result. To get other page of search results:

googlenews.get_page(2)

The date range is not always working as Google may return the result with random order or out of date range.

Google may recognize the program as automated robots and block the IP, using cloud server and fetching data with high frequency will get higher chance to be blocked.