Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,10 @@ def animewatcher(anime_name: str) -> str:
|
|
31 |
|
32 |
response = f"Here are some details about '{anime_name}':\n"
|
33 |
for i, result in enumerate(results, 1):
|
34 |
-
|
|
|
|
|
|
|
35 |
return response.strip()
|
36 |
|
37 |
except Exception as e:
|
|
|
31 |
|
32 |
response = f"Here are some details about '{anime_name}':\n"
|
33 |
for i, result in enumerate(results, 1):
|
34 |
+
title = result.get('title', 'No title available')
|
35 |
+
href = result.get('href', 'No link available')
|
36 |
+
response += f"{i}. **{title}**\n{href}\n\n"
|
37 |
+
|
38 |
return response.strip()
|
39 |
|
40 |
except Exception as e:
|