shaina commited on
Commit
cfac6e3
·
1 Parent(s): 2b0941b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -133,7 +133,9 @@ def main():
133
  latest_news = news()
134
  for i in latest_news[0:10]:
135
  st.write(i['title'])
136
- st.markdown(i['link'])
 
 
137
  st.write(" ")
138
 
139
  if __name__ == "__main__":
 
133
  latest_news = news()
134
  for i in latest_news[0:10]:
135
  st.write(i['title'])
136
+ link_ = i['link']
137
+ link_ = link_.replace("news.google.com/.", "https://news.google.com")
138
+ st.markdown(link_)
139
  st.write(" ")
140
 
141
  if __name__ == "__main__":