fix string
This commit is contained in:
parent
4f411953b4
commit
1fab5176dd
2 changed files with 1 additions and 4 deletions
|
@ -3,9 +3,6 @@ import os
|
||||||
|
|
||||||
import whois
|
import whois
|
||||||
|
|
||||||
iso = json.load(open(os.path.dirname(os.path.abspath(
|
|
||||||
__file__)) + './iso.json', 'r', encoding='utf-8'))
|
|
||||||
|
|
||||||
|
|
||||||
async def check_domain(domain: str):
|
async def check_domain(domain: str):
|
||||||
return whois.whois(domain)
|
return whois.whois(domain)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"whois.help": "查詢 IP 的 WHOIS 資訊",
|
"whois.help": "查詢 IP 的 WHOIS 資訊",
|
||||||
"whois.message.real_ip": "實際 IP:",
|
"whois.message.real_ip": "實際 IP:",
|
||||||
"whois.message.type": "類型:",
|
"whois.message.type": "類型:",
|
||||||
"whois.message.postal_code": "郵編:",
|
"whois.message.postal_code": "郵編:",
|
||||||
"whois.message.location": "位置:",
|
"whois.message.location": "位置:",
|
||||||
"whois.message.organization": "機構:",
|
"whois.message.organization": "機構:",
|
||||||
|
|
Reference in a new issue