返回提交历史
Modified
g4f/gui/server/internet.py
+1
-1
XFEstudio/gpt4free
Update internet.py
d53db732
代码差异
1 个文件
+1
-1
@@ -67,7 +67,7 @@ def scrape_text(html: str, max_words: int = None) -> str:
67
67
if select:
68
68
select.extract()
69
69
clean_text = ""
70
for paragraph in soup.select("p"):
70
for paragraph in soup.select("p, h1, h2, h3, h4, h5, h6"):
71
71
text = paragraph.get_text()
72
72
for line in text.splitlines():
73
73
words = []