pvanand commited on
Commit
287c42b
·
verified ·
1 Parent(s): e0c39a8

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -258,6 +258,7 @@ def internet_search(query, search_type="web", num_results=20):
258
  "title": item["title"],
259
  "snippet": item["extra_snippets"][0],
260
  "last_updated": item.get("age", "")
 
261
  }
262
  for item in search_data
263
  if item.get("extra_snippets")
 
258
  "title": item["title"],
259
  "snippet": item["extra_snippets"][0],
260
  "last_updated": item.get("age", "")
261
+ "url":item.get("url", "")
262
  }
263
  for item in search_data
264
  if item.get("extra_snippets")