acecalisto3 commited on
Commit
9ded418
·
verified ·
1 Parent(s): e9bc41c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(html_content, 'html.parser')
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}")