dongzhaorui 3 년 전
부모
커밋
4049cfc271
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      find_source/crawler/services/channel.py

+ 1 - 1
find_source/crawler/services/channel.py

@@ -96,7 +96,7 @@ def remove_ancestors_date_tag(node: HtmlElement):
                 # print("remove ancestor tag >>> ", ancestor.tag, ancestor.attrib, )
                 is_remove = True
         elif 1 < total <= 2:
-            # 逐条删除(查询出时间文本条数,从子节点边界范围进行查询、剔除,防止)
+            # 逐条删除(查询出时间文本条数,从子节点边界范围进行查询、剔除,防止过度删除
             for child in ancestor.iterchildren():
                 child_tag_date_total = tag_date_total(child)
                 if child_tag_date_total > 0: