Spaces:
Running
Running
Update main.py
Browse files
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")
|