From 5d4d9985e304514ce72029856ff03f38f939f124 Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Wed, 25 Sep 2024 00:16:57 +0800 Subject: [PATCH] =?UTF-8?q?Update=20IP=E6=AF=94=E5=AF=B9.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py/IP比对.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/IP比对.py b/py/IP比对.py index 2a2af0b..0907184 100644 --- a/py/IP比对.py +++ b/py/IP比对.py @@ -32,7 +32,7 @@ def compare_and_write_uniques(file1_path, file2_path, output_path): # 查找域名 domains_in_file1 = re.findall(domain_pattern, content1) for domain in domains_in_file1: - if domain not in file2_ips_and: + if domain not in file2_ips_and_domains: unique_ips_and_domains.add(domain) # 将独特的IP地址和域名写入新文件