V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · 5985 views
    This topic created in 3477 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
        1
    superliang  
       Oct 30, 2016
    赞一个
    ljheee
        2
    ljheee  
       Oct 30, 2016
    收藏一下
    Zzzzzzzzz
        3
    Zzzzzzzzz  
       Oct 30, 2016   ❤️ 1
    调用 whois 就好了, 多准备几个查询的 host, 不要用注册商接口去查,不然等你想注东西就没了
    qiayue
        4
    qiayue  
    PRO
       Oct 30, 2016   ❤️ 1
    提示一下,域名 whois 服务器 443 端口
    woniu127
        5
    woniu127  
    OP
       Oct 30, 2016
    @Zzzzzzzzz 学到了
    woniu127
        6
    woniu127  
    OP
       Oct 30, 2016
    @qiayue 谢谢
    woniu127
        7
    woniu127  
    OP
       Oct 30, 2016
    @Zzzzzzzzz 请教一下如何提高注册时的速度?我用的 resellerclub 的 api ,不过感觉很慢
    qiayue
        8
    qiayue  
    PRO
       Oct 30, 2016
    打错了 43 端口
    woniu127
        9
    woniu127  
    OP
       Oct 30, 2016
    @qiayue 找到了相应的查询 whois 包, https://bitbucket.org/richardpenman/pywhois
    woniu127
        10
    woniu127  
    OP
       Oct 30, 2016
    测试了下 python-whois 包,返回 whois 信息需要 0.6s ,万网的 api 返回信息需要 0.16s (没有加运行时间限制)。
    leavic
        11
    leavic  
       Oct 30, 2016
    namesilo 有批量 API ,一次可以查 200 个。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4400 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 05:30 · PVG 13:30 · LAX 22:30 · JFK 01:30
    ♥ Do have faith in what you're doing.