diff --git a/scrapthechan/scraper.py b/scrapthechan/scraper.py index 016f377..429e642 100644 --- a/scrapthechan/scraper.py +++ b/scrapthechan/scraper.py @@ -106,3 +106,6 @@ class Scraper: remove(filepath) except HTTPError as e: print(e, f.download_url) + except ConnectionResetError: + print("Remote host reset connection for", f.download_url, \ + "Try again later.")