diff --git a/main.py b/main.py index 0741567..892894d 100644 --- a/main.py +++ b/main.py @@ -68,6 +68,7 @@ while not urls.empty(): log.info("Fetching '%s'..."%url) try: r = session.get(url, stream=True, timeout=5) + r.close() # Read response if r.status_code != 200: