Closed Lilja closed 3 years ago
I've added this functionality in version 1.0.1.
Example usage:
hosts.find_all_matching(name="ischeeseavegetable.com")
hosts.find_all_matching(address="87.81.255.195")
hosts.find_all_matching(address="87.81.255.195", name="ischeeseavegetable.com") # returning where both match
I would like a method in the hosts-module, a way to get a hostentry based on a name.
This is how I'm solving it right now: