Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,7 +82,7 @@ def download_html_and_files(url: str, subdir: str) -> None:
|
|
| 82 |
html_content = response.text
|
| 83 |
|
| 84 |
try:
|
| 85 |
-
soup = BeautifulSoup(
|
| 86 |
except Exception as e:
|
| 87 |
logger.error(f"Failed to parse HTML content: {e}")
|
| 88 |
st.error(f"Failed to parse HTML content from {url}")
|
|
|
|
| 82 |
html_content = response.text
|
| 83 |
|
| 84 |
try:
|
| 85 |
+
soup = BeautifulSoup(content)
|
| 86 |
except Exception as e:
|
| 87 |
logger.error(f"Failed to parse HTML content: {e}")
|
| 88 |
st.error(f"Failed to parse HTML content from {url}")
|