python 菜鸟一枚,平时有事没事就注册个域名,下午有时间就写了写如何批量查询域名。
github 地址:
https://github.com/gaokaigithub/domain
网址: http://xueyuan.me/topic/50/
github 地址:
https://github.com/gaokaigithub/domain
网址: http://xueyuan.me/topic/50/
|
superliangOct 30, 2016
1
赞一个 |
|
ljheeeOct 30, 2016
2
收藏一下
|
|
3
调用 whois 就好了, 多准备几个查询的 host, 不要用注册商接口去查,不然等你想注东西就没了
|
|
4
提示一下,域名 whois 服务器 443 端口
|
|
qiayueOct 30, 2016
8
打错了 43 端口
|
|
9
@qiayue 找到了相应的查询 whois 包, https://bitbucket.org/richardpenman/pywhois
|
|
10
测试了下 python-whois 包,返回 whois 信息需要 0.6s ,万网的 api 返回信息需要 0.16s (没有加运行时间限制)。
|
|
leavicOct 30, 2016
11
namesilo 有批量 API ,一次可以查 200 个。
|