Skip to content

Commit 48f6f44

Browse files
committed
x
1 parent ec69f48 commit 48f6f44

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

scripts/process_dataset.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,13 @@ def process_single_item(data: dict, verbose: bool = False) -> dict:
4747
'html_source': typical_raw_tag_html
4848
}
4949

50-
if verbose:
51-
print(f" 构建 pre_data 完成")
52-
5350
# 转换为 PreDataJson 对象
5451
pre_data = PreDataJson(pre_data)
5552

56-
if verbose:
57-
print(f" PreDataJson 创建完成")
58-
5953
# 映射 - 使用 MapItemToHtmlTagsParser
6054
parser = MapItemToHtmlTagsParser({})
6155
pre_data = parser.parse(pre_data)
6256

63-
if verbose:
64-
print(f" 映射解析完成")
65-
6657
# 提取 main_html
6758
main_html = pre_data.get(PreDataJsonKey.TYPICAL_MAIN_HTML, "")
6859

0 commit comments

Comments
 (0)