Skip to content

Commit

Permalink
added the sepetate link for sports section
Browse files Browse the repository at this point in the history
  • Loading branch information
pandyamarut committed Nov 26, 2017
1 parent 5f81c30 commit f66c399
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Google_News.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ def news():
#my_url="https://news.google.com/news/rss"
my_url="https://news.google.com/news/rss?ned=in&hl=en-IN"
#To open the Given URL
Client=urlopen(my_url)
Client=urlopen(my_url)
s_url ="https://news.google.com/news/headlines/section/topic/SPORTS.en_in/Sports?ned=in&hl=en-IN&gl=IN"
Client=urlopen(s_url)



xml_page=Client.read()
Client.close()
Expand All @@ -24,3 +28,4 @@ def news():


news()

0 comments on commit f66c399

Please sign in to comment.