Skip to content

Simple News app built in Python using Beautiful-soup web scraping.

License

Notifications You must be signed in to change notification settings

preetvadaliya/Google-News

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

G O O G L E    N E W S

Simple News app built in Python using Beautiful-soup web scraping.



How to use?

Download GoogleNews.py file and add into your project.



How to get user agent?

Search my user agent into your chrome.



E X A M P L E

from GoogleNews import GoogleNews
news = GoogleNews("your user agent")


M E T H O D S

getTopStories( )

return top stories headlines from Google News.

news.getTopStories()

getForYou( )

return headlines recommended based on your interests.

news.getForYou()

getCoronaNews( )

return headlines of corona news.

news.getCoronaNews()

getCountryNews( )

return headlines of your country.

news.getCountryNews()

getWorldNews( )

return headlines of world.

news.getWorldNews()

getTechnologyNews( )

return headlines of technology.

news.getTechnologyNews()

getEntertainmentNews( )

return headlines of entertainment.

news.getEntertainmentNews()

getSportsNews( )

return headlines of sports.

news.getSportsNews()

getScienceNews( )

return headlines of science.

news.getScienceNews()

getHealthNews( )

return headlines of health.

news.getHealthNews()

About

Simple News app built in Python using Beautiful-soup web scraping.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages