ranahaani / GNews

A Happy and lightweight Python Package that Provides an API to search for articles on Google News and returns a JSON response.
https://pypi.org/project/gnews/
MIT License
745 stars 107 forks source link

[Questions] Hello author. Is possible to make Gnews get news from multiple topics? #6

Closed ghost closed 3 years ago

ghost commented 3 years ago

This is my test code. It working with single keyword. Now i tried to make it with multiple keyword. It possible to do that? Example :

google_news = GNews(language='vi', country='Vietnam',
                    period='1h', max_results=20)
json_resp = google_news.get_news('Covid', 'Apple')
print(json_resp)
ranahaani commented 3 years ago

Currently, Search on multiple keywords is not supported yet, will add this feature soon.

ghost commented 3 years ago

Thanks. Also how much the limit requests of this library per sec/min

ranahaani commented 3 years ago

10 queries per second (QPS) per IP address.