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)