推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
woniu127
V2EX  ›  Python

python 菜鸟写了一个自动批量查询域名的查询程序

  •  
  •   woniu127 · Oct 30, 2016 · 6398 views
    This topic created in 3663 days ago, the information mentioned may be changed or developed.
    python 菜鸟一枚,平时有事没事就注册个域名,下午有时间就写了写如何批量查询域名。
    github 地址:
    https://github.com/gaokaigithub/domain

    网址: http://xueyuan.me/topic/50/
    11 replies  •  2016-10-30 22:07:50 +08:00
    superliang
    superliang
    Oct 30, 2016
    1
    赞一个
    ljheee
    ljheee
    Oct 30, 2016
    2
    收藏一下
    Zzzzzzzzz
    Zzzzzzzzz
    Oct 30, 2016❤️1
    3
    调用 whois 就好了, 多准备几个查询的 host, 不要用注册商接口去查,不然等你想注东西就没了
    qiayue
    qiayue
    Oct 30, 2016❤️1
    4
    提示一下,域名 whois 服务器 443 端口
    woniu127
    woniu127
    OP
    Oct 30, 2016
    5
    @Zzzzzzzzz 学到了
    woniu127
    woniu127
    OP
    Oct 30, 2016
    6
    @qiayue 谢谢
    woniu127
    woniu127
    OP
    Oct 30, 2016
    7
    @Zzzzzzzzz 请教一下如何提高注册时的速度?我用的 resellerclub 的 api ,不过感觉很慢
    qiayue
    qiayue
    Oct 30, 2016
    8
    打错了 43 端口
    woniu127
    woniu127
    OP
    Oct 30, 2016
    9
    @qiayue 找到了相应的查询 whois 包, https://bitbucket.org/richardpenman/pywhois
    woniu127
    woniu127
    OP
    Oct 30, 2016
    10
    测试了下 python-whois 包,返回 whois 信息需要 0.6s ,万网的 api 返回信息需要 0.16s (没有加运行时间限制)。
    leavic
    leavic
    Oct 30, 2016
    11
    namesilo 有批量 API ,一次可以查 200 个。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2335 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 98ms · UTC 13:21 · PVG 21:21 · LAX 05:21 · JFK 08:21
    ♥ Do have faith in what you're doing.