Update main.py
Browse files
main.py
CHANGED
@@ -60,5 +60,5 @@ async def get_data(url: str):
|
|
60 |
except Exception as e:
|
61 |
raise HTTPException(status_code=500, detail=str(e))
|
62 |
else:
|
63 |
-
return
|
64 |
|
|
|
60 |
except Exception as e:
|
61 |
raise HTTPException(status_code=500, detail=str(e))
|
62 |
else:
|
63 |
+
return {"title": title, "URL": links, "Content": text_content}
|
64 |
|