We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f81c30 commit f66c399Copy full SHA for f66c399
1 file changed
Google_News.py
@@ -6,7 +6,11 @@ def news():
6
#my_url="https://news.google.com/news/rss"
7
my_url="https://news.google.com/news/rss?ned=in&hl=en-IN"
8
#To open the Given URL
9
- Client=urlopen(my_url)
+ Client=urlopen(my_url)
10
+s_url ="https://news.google.com/news/headlines/section/topic/SPORTS.en_in/Sports?ned=in&hl=en-IN&gl=IN"
11
+Client=urlopen(s_url)
12
+
13
14
15
xml_page=Client.read()
16
Client.close()
@@ -24,3 +28,4 @@ def news():
24
28
25
29
26
30
news()
31
0 commit comments