From 63c91035192d5038e2e906943b387868afa930c8 Mon Sep 17 00:00:00 2001 From: minoplhy Date: Sat, 2 Oct 2021 10:53:52 +0700 Subject: [PATCH] seperate modules for IP and URL filtering --- crawler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/crawler.py b/crawler.py index f955254..fe7d2f5 100644 --- a/crawler.py +++ b/crawler.py @@ -40,6 +40,7 @@ def filtering(filters_welcome): f.write('\n'.join([line + '\n'])) print("Simple Filtering Completed!") f.close() +def IP_URL_FILTERING(filters_welcome): with open(filters_welcome) as f: file = f.read().split('\n') for i in range(len(file)):