Replace CRLF with LF, fix bugs, .im support
This commit is contained in:
1 parent
4b3901c8f4
commit
07bf8f5138
3 files changed
+14
-9
No files matched your search
+7
-1
@@ -1,8 +1,14 @@
|
||||
|
||||
parse = {
|
||||
"default": {
|
||||
"NotFound": "was not found.",
|
||||
"DomainName": "Domain Name:\s+(.+)",
|
||||
"RegistrantName": "Domain Owners \/ Registrant\nName:\s+(.+)",
|
||||
"RegistrantAddress": "Domain Owners \/ Registrant\nName: .+\nAddress\n([\S\s]*)\nAdministrative",
|
||||
"ExpirationDate": "Expiry Date: (.+)",
|
||||
"Registrar": "Domain Managers\nName: (.+)",
|
||||
"RegistrarAddress": "Domain Managers\nName: .+\nAddress\n([\S\s]*)\nDomain Owners",
|
||||
"AdminName": "Administrative Contact\nName:\s+(.+)",
|
||||
"AdminAddress": "Administrative Contact\nName:.+\nAddress\n([\S\s]*)\nBilling Contact",
|
||||
"NameServer": "Name Server:\s+(.+)[.]",
|
||||
}
|
||||
}
|
||||
+6
-7
@@ -4,12 +4,11 @@ server = {
|
||||
}
|
||||
|
||||
parse = {
|
||||
"regex": {
|
||||
"default": {
|
||||
"default": {
|
||||
|
||||
},
|
||||
"whois.dotname.co.kr":
|
||||
{
|
||||
},
|
||||
}
|
||||
},
|
||||
"whois.dotname.co.kr":
|
||||
{
|
||||
|
||||
},
|
||||
}
|
||||
+1
-1
@@ -59,7 +59,7 @@ class Whois(object):
|
||||
|
||||
result += buffer
|
||||
|
||||
return result
|
||||
return result.replace("\r\n", "\n")
|
||||
|
||||
def query(self, redirect=True):
|
||||
whoisServer = self.chooseServer()
|
||||
|
||||
Reference in new issue
Block a user