XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Update internet.py

9e4a63e7
H Lohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +0 -2
Modified g4f/gui/server/internet.py +0 -2
@@ -46,8 +46,6 @@ class SearchResultEntry():
46 46
47 47 def scrape_text(html: str, max_words: int = None) -> str:
48 48 soup = BeautifulSoup(html, "html.parser")
49 for exclude in soup(["script", "style"]):
50 exclude.extract()
51 49 for selector in [
52 50 "main",
53 51 ".main-content-wrapper",