From a6a3080d373cce48c0903ec650445cdfa7abf32c Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Wed, 28 Aug 2024 01:39:58 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E7=BD=91=E7=BB=9C=E6=94=B6=E9=9B=86.p?= =?UTF-8?q?y?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py/网络收集.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/网络收集.py b/py/网络收集.py index 783af4c..08f6ba6 100644 --- a/py/网络收集.py +++ b/py/网络收集.py @@ -554,7 +554,7 @@ def parse_file(input_file_path, output_file_name): # ip_or_domain_to_lines[ip_or_domain].append(line) # 过滤掉小于1000字节的IP或域名段 filtered_ip_or_domain_to_lines = {ip_or_domain: lines for ip_or_domain, lines in ip_or_domain_to_lines.items() - if sum(len(line) for line in lines) >= 500} # 过滤掉小于1000字节的IP或域名段 + if sum(len(line) for line in lines) >= 300} # 过滤掉小于1000字节的IP或域名段 # 如果没有满足条件的IP或域名段,则不生成文件 if not filtered_ip_or_domain_to_lines: print("没有满足条件的IP或域名段,不生成文件。")