diff --git a/exam/ex01/proxy.py b/exam/ex01/proxy.py index d44b531..c4c1a51 100644 --- a/exam/ex01/proxy.py +++ b/exam/ex01/proxy.py @@ -80,7 +80,7 @@ def _get_rows(soup): ip_addr = ip_addr[25:30] + ip_addr[45:-5] yield ip_addr, port except Exception as e: - break + continue logger.info("retrieved {} proxies".format(i))