rtik007 commited on
Commit
ebce44a
·
verified ·
1 Parent(s): 5060941

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ signs = [
14
 
15
  def get_trending_news():
16
  """Fetch and return trending Technology news headlines."""
17
- url = f"http://newsapi.org/v2/top-headlines?country=us&&category=technology&apiKey={HF_API_KEY}"
18
  try:
19
  page = requests.get(url).json()
20
  articles = page["articles"]
 
14
 
15
  def get_trending_news():
16
  """Fetch and return trending Technology news headlines."""
17
+ url = f"http://newsapi.org/v2/top-headlines?country=us&category=technology&apiKey={HF_API_KEY}"
18
  try:
19
  page = requests.get(url).json()
20
  articles = page["articles"]