From 2098a38486693971ff5866229952f6ef3f597ee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kn=C3=BCttel?= Date: Sat, 2 Feb 2019 16:44:51 +0100 Subject: [PATCH] retreive more proxies --- exam/ex01/proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))