gnews
Provide an API to search for articles on Google News and returns a usable JSON response.
Decision gist · record as of 2026-08-14
Yes. GNews is actively maintained, has no security vulnerabilities, low install friction, and solves a real problem—querying Google News without writing custom scrapers. The permissive MIT license removes legal friction. Install it if you need to aggregate news programmatically; skip it only if you require a commercial news API with SLA guarantees or need to handle Google's rate-limiting at scale.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Optional extras (gnews[fulltext] for article text, gnews[playwright] for URL resolution) require additional setup; base install works without them.
- Low install friction with a pure-Python wheel and four common dependencies (feedparser, beautifulsoup4, dnspython, requests).
- Actively maintained with a recent release and 1003 repository stars.
License · maintenance · safety
permissive license (permissive) — Licensed under MIT (permissive), allowing free use, modification, and distribution with minimal restrictions.
last release 2026-06-25 (50 days) · last repo commit 2026-08-12 · 1,003 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 124,377 downloads/mo, #11,870 on PyPI
Alternatives
Verify before relying
pip install gnews
from gnews import GNews
google_news = GNews()
articles = google_news.get_news('Pakistan')
print(articles[0])- Whether Google News actively blocks or rate-limits programmatic access and how often the package maintainer updates to handle such changes.
- Actual success rate and latency of RSS feed queries under typical usage patterns.
- Whether the package handles Google News feed schema changes automatically or requires manual updates.
What it is and what it does
GNews is a lightweight Python wrapper around Google News RSS feeds that returns article metadata (title, description, publisher, URL, publication date) as JSON. It lets you search for news by keyword, topic (WORLD, BUSINESS, TECHNOLOGY, SPORTS, etc.), geographic location, or specific news site, with filtering options for language, country, date range, and result count. The package also supports fetching full article text and resolving Google News redirect URLs through optional dependencies.
The core use case is building news aggregation tools, monitoring systems, or analysis pipelines without writing custom RSS parsers or web scrapers. It handles the boilerplate of querying Google News, parsing feeds, and normalizing the response format. The package is actively maintained, has no known vulnerabilities, and depends only on standard HTTP and HTML parsing libraries.
Use it for
- Monitor news headlines on a specific topic or keyword and trigger alerts when articles match certain criteria.
- Build a news dashboard that aggregates articles from multiple countries or languages into a single feed.
- Collect news data for sentiment analysis, topic modeling, or other NLP research on recent headlines.
- Track coverage of a specific company or person across different news sources and regions.
- Export filtered news results to CSV or JSON for downstream analysis or archival.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
GNews is actively maintained, has no security vulnerabilities, low install friction, and solves a real problem—querying Google News without writing custom scrapers. The permissive MIT license removes legal friction. Install it if you need to aggregate news programmatically; skip it only if you require a commercial news API with SLA guarantees or need to handle Google's rate-limiting at scale.
Install
gnews on PyPI
Before you install
Low install friction with a pure-Python wheel and four common dependencies (feedparser, beautifulsoup4, dnspython, requests). Actively maintained with a recent release and 1003 repository stars.
Optional extras (gnews[fulltext] for article text, gnews[playwright] for URL resolution) require additional setup; base install works without them.
License in practice
Licensed under MIT (permissive), allowing free use, modification, and distribution with minimal restrictions.
Quickstart
pip install gnews
from gnews import GNews
google_news = GNews()
articles = google_news.get_news('Pakistan')
print(articles[0])
Verify before relying
- Whether Google News actively blocks or rate-limits programmatic access and how often the package maintainer updates to handle such changes.
- Actual success rate and latency of RSS feed queries under typical usage patterns.
- Whether the package handles Google News feed schema changes automatically or requires manual updates.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesfeedparserbeautifulsoup4dnspythonrequests |
| Maintenance | Actively maintained 50 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 124,377 / month, #11,870 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: gnews-0.8.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “google news api python”
- gnewsGNews searches Google News RSS feeds and returns article metadata as…
- googlenewsdecoderDecodes Google News redirect URLs to their original source URLs, with…
- ultimate-sitemap-parserParses and crawls sitemaps in multiple formats (XML, RSS, Atom, plain…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also googlenewsdecoder · newspaper4k · newsapi-python · eventregistry · duckduckgo-search · trendspy · newspaper3k · asknews · mkdocs-rss-plugin · ddgs