From ae2f250e3ebfd0dc0d04d775e98e412c3ab6af33 Mon Sep 17 00:00:00 2001 From: minoplhy Date: Thu, 30 Sep 2021 00:21:32 +0700 Subject: [PATCH] Widely Dnsmasq --- crawler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/crawler.py b/crawler.py index cbba798..bf59bcd 100644 --- a/crawler.py +++ b/crawler.py @@ -92,6 +92,7 @@ def filteringcon(filters_regex_one): file[i] = re.sub('127\.0\.0\.1\Z', '', file[i]) file[i] = re.sub('0\.0\.0\.0\Z', '', file[i]) file[i] = re.sub('::\Z', '', file[i]) + file[i] = re.sub('::1\Z', '', file[i]) file[i] = re.sub('/\Z', '', file[i]) file[i] = re.sub('/$', '', file[i]) with open(filters_regex_one, 'w') as f1: