Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def extract_images(soup, base_url):
|
|
56 |
|
57 |
def format_detailed_output(structured_data, title):
|
58 |
"""Formats the structured data into a Markdown string."""
|
59 |
-
result = f"
|
60 |
result += "### Texts\n\n"
|
61 |
result += " ".join(structured_data["Texts"]) if structured_data["Texts"] else "No textual content found."
|
62 |
result += "\n\n### Links\n\n"
|
|
|
56 |
|
57 |
def format_detailed_output(structured_data, title):
|
58 |
"""Formats the structured data into a Markdown string."""
|
59 |
+
result = f"### Title\n\n{title}\n\n"
|
60 |
result += "### Texts\n\n"
|
61 |
result += " ".join(structured_data["Texts"]) if structured_data["Texts"] else "No textual content found."
|
62 |
result += "\n\n### Links\n\n"
|