From 15a185e74b777bb01794fb7cc2570cf2f0ae92d3 Mon Sep 17 00:00:00 2001 From: Kale Date: Mon, 2 Aug 2021 08:25:59 -0700 Subject: [PATCH] Update 'crawler.py' --- crawler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crawler.py b/crawler.py index 1ecd0a3..bd174c6 100644 --- a/crawler.py +++ b/crawler.py @@ -5,12 +5,13 @@ import re print('starting . . . ') -def download_filters(url,incoming): +def clear_old_files(incoming): try: os.remove(incoming) except OSError: pass +def download_filters(url,incoming): print("downloading: ",url) get = requests.get(url)