Simple News app built in Python using Beautiful-soup web scraping.
Download GoogleNews.py file and add into your project.
Search my user agent into your chrome.
from GoogleNews import GoogleNews
news = GoogleNews("your user agent")
return top stories headlines from Google News.
news.getTopStories()
return headlines recommended based on your interests.
news.getForYou()
return headlines of corona news.
news.getCoronaNews()
return headlines of your country.
news.getCountryNews()
return headlines of world.
news.getWorldNews()
return headlines of technology.
news.getTechnologyNews()
return headlines of entertainment.
news.getEntertainmentNews()
return headlines of sports.
news.getSportsNews()
return headlines of science.
news.getScienceNews()
return headlines of health.
news.getHealthNews()