| changeset 118 | d024d2328e51 |
| parent 117 | 32947b10adce |
| child 120 | b4273400685e |
| 117:32947b10adce | 118:d024d2328e51 |
|---|---|
1124 'name_servers_ipv4': 'dns_IPv4 *(.+)', |
1124 'name_servers_ipv4': 'dns_IPv4 *(.+)', |
1125 |
1125 |
1126 } |
1126 } |
1127 |
1127 |
1128 def __init__(self, domain, text): |
1128 def __init__(self, domain, text): |
1129 if 'NOT FOUND' in text: |
1129 if 'Not found' in text: |
1130 raise PywhoisError(text) |
1130 raise PywhoisError(text) |
1131 else: |
1131 else: |
1132 WhoisEntry.__init__(self, domain, text, self.regex) |
1132 WhoisEntry.__init__(self, domain, text, self.regex) |