+
73
-

python如何批量查询多个域名是否被注册?

python如何批量查询多个域名是否被注册?


网友回复

+
18
-

需要安装 python-whois 库:pip install python-whois

import whois
import time

def is_registered(domain):
    try:
        w = whois.whois(domain)
        return bool(w.registrar or w.creation_date o...

点击查看剩余70%

我知道答案,我要回答