Closed mahesh557 closed 1 month ago
@mahesh557 You are passing the 2nd argument as a proxy opener rather than the expected timeout. That is expected as the third argument. I would suggest passing as keyword args like:
ip_obj = IPWhois(address=ip, timeout=30, proxy_opener=proxy_opener)
HI,
Getting below error in python3.8. Can you please help fix this.
My Code
Problem at /ipwhois/asn.py line 455, is self._net.dns_resolver.timeout is of type OpenerDirector instead of float/int