whois/parser.py
changeset 173 03eaf09581eb
parent 172 68c0b9f2064f
child 174 f4ea199eecb2
equal deleted inserted replaced
172:68c0b9f2064f 173:03eaf09581eb
   721         'tech_org': r'Technical: *Name: *[^\n\r]+\s*Organisation: *([^\n\r]+)',
   721         'tech_org': r'Technical: *Name: *[^\n\r]+\s*Organisation: *([^\n\r]+)',
   722         'tech_phone': r'Technical: *Name: *[^\n\r]+\s*Organisation: *[^\n\r]+\s*Language: *[^\n\r]+\s*Phone: *([^\n\r]+)',
   722         'tech_phone': r'Technical: *Name: *[^\n\r]+\s*Organisation: *[^\n\r]+\s*Language: *[^\n\r]+\s*Phone: *([^\n\r]+)',
   723         'tech_fax': r'Technical: *Name: *[^\n\r]+\s*Organisation: *[^\n\r]+\s*Language: *[^\n\r]+\s*Phone: *[^\n\r]+\s*Fax: *([^\n\r]+)',
   723         'tech_fax': r'Technical: *Name: *[^\n\r]+\s*Organisation: *[^\n\r]+\s*Language: *[^\n\r]+\s*Phone: *[^\n\r]+\s*Fax: *([^\n\r]+)',
   724         'tech_email': r'Technical: *Name: *[^\n\r]+\s*Organisation: *[^\n\r]+\s*Language: *[^\n\r]+\s*Phone: *[^\n\r]+\s*Fax: *[^\n\r]+\s*Email: *([^\n\r]+)',
   724         'tech_email': r'Technical: *Name: *[^\n\r]+\s*Organisation: *[^\n\r]+\s*Language: *[^\n\r]+\s*Phone: *[^\n\r]+\s*Fax: *[^\n\r]+\s*Email: *([^\n\r]+)',
   725         'registrar': r'Registrar: *Name: *([^\n\r]+)',
   725         'registrar': r'Registrar: *Name: *([^\n\r]+)',
   726         'name_servers': r'Name servers: *([^\n\r]+)\s*([^\n\r]*)',  # list of name servers
   726         'name_servers': r'Name servers:\s*(.+)',  # list of name servers
   727     }
   727     }
   728 
   728 
   729     def __init__(self, domain, text):
   729     def __init__(self, domain, text):
   730         if text.strip() == 'Status: AVAILABLE':
   730         if text.strip() == 'Status: AVAILABLE':
   731             raise PywhoisError(text)
   731             raise PywhoisError(text)