Skip to content
This repository was archived by the owner on Feb 3, 2024. It is now read-only.

Commit cf0c01e

Browse files
committed
fix nameservers it
1 parent f8cb2ef commit cf0c01e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

whois/tld_regexpr.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,8 @@
543543
"creation_date": r"Created:\s?(.+)",
544544
"expiration_date": r"Expire Date:\s?(.+)",
545545
"updated_date": r"Last Update:\s?(.+)",
546-
"name_servers": r"Nameservers\s?(.+)\s?(.+)\s?(.+)\s?(.+)",
546+
# "name_servers": r"Nameservers\s?(.+)\s?(.+)\s?(.+)\s?(.+)",
547+
"name_servers": r"Nameservers(?:\n\s+(\S+))?(?:\n\s+(\S+))?(?:\n\s+(\S+))?(?:\n\s+(\S+))?",
547548
"status": r"Status:\s?(.+)",
548549
}
549550

0 commit comments

Comments
 (0)