From 9304b53e24a263167602b229f1a6c3079bd5db6e Mon Sep 17 00:00:00 2001 From: Brad Kenstler Date: Mon, 23 Oct 2023 13:44:05 -0700 Subject: [PATCH] Update README.md for get_news_by_site --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index edb0280..389c3df 100644 --- a/README.md +++ b/README.md @@ -181,6 +181,11 @@ print(pakistan_news[0]) * `GNews.get_news_by_location(location)` * location can be name of city/state/country +### Get news by site + +* `GNews.get_news_by_site(site)` +* site should be in the format of: `"cnn.com"` + ### Results specification * It's possible to pass proxy, country, language, period, start date, end date exclude websites and size during initialization