Skip to content

Commit 0e6deee

Browse files
fix: 修复无法处理xml
1 parent 9113a0e commit 0e6deee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

llm_web_kit/main_html_parser/typical_html/typical_html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def select_representative_html(html_strings):
3939
continue
4040

4141
# 将字符串转换为文件对象
42-
file_obj = StringIO(html_dict['html'])
42+
file_obj = StringIO(html_str)
4343
tree = html.parse(file_obj)
4444

4545
# 找到body元素

0 commit comments

Comments
 (0)