We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 542b7b8 + 970de2f commit 9d3b572Copy full SHA for 9d3b572
1 file changed
smartdns/monitor.py
@@ -24,7 +24,7 @@ def __init__(self, ip_set, monitor):
24
self.black_mapping = {}
25
26
def _check(self):
27
- host = urlparse(self.monitor["url"]).netloc
+ host = urlparse(self.monitor["url"]).netloc.split(":")[0]
28
for ip in self.ip_set:
29
if ip not in self.black_mapping:
30
self.black_mapping[ip] = 0
0 commit comments