Spaces:
Running
Running
Commit ·
3984f2a
1
Parent(s): 308fcc4
oops
Browse files
main.py
CHANGED
|
@@ -175,6 +175,7 @@ def _fetch_article_text(url: str, max_chars: int = 3000) -> str:
|
|
| 175 |
or soup.find(id="main-content")
|
| 176 |
or soup.find("body")
|
| 177 |
)
|
|
|
|
| 178 |
if not content_el:
|
| 179 |
return ""
|
| 180 |
|
|
|
|
| 175 |
or soup.find(id="main-content")
|
| 176 |
or soup.find("body")
|
| 177 |
)
|
| 178 |
+
|
| 179 |
if not content_el:
|
| 180 |
return ""
|
| 181 |
|