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
Meli55a
V2EX  ›  Python

根据域名批量查询服务器所在地

  •  
  •   Meli55a · Jun 4, 2018 · 2246 views
    This topic created in 2889 days ago, the information mentioned may be changed or developed.

    RT,手里有些域名,想按服务器所在地进行分类,请问有干过类似活儿的兄 dei 能否指点一下思路,目前想到的就是研究一下纯真 IP 库

    4 replies    2018-06-04 19:37:09 +08:00
    opengps
        1
    opengps  
       Jun 4, 2018
    用了 cdn 的网站你怎么排除?
    cherryas
        2
    cherryas  
       Jun 4, 2018
    现在连静态网站都有 cdn 了
    Meli55a
        3
    Meli55a  
    OP
       Jun 4, 2018
    @opengps @cherryas CDN 的直接 pass
    zhjits
        4
    zhjits  
       Jun 4, 2018
    没有方法精确地知道一个服务器的地理位置。能想到的办法也只有查 GeoIP 数据库了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   759 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 21:13 · PVG 05:13 · LAX 14:13 · JFK 17:13
    ♥ Do have faith in what you're doing.