karlxu
V2EX  ›  问与答

python 里如何获取访问的网址真实 IP?

  •  
  •   karlxu · Jan 12, 2016 · 1648 views
    This topic created in 3886 days ago, the information mentioned may be changed or developed.
    如果想监控一个网址的可用性,可以用 urllib2 得到返回码,但是访问失败想记录 ip ,现在都是 cnd ,请问如何获取真实 IP?
    谢谢!
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3700 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 10:24 · PVG 18:24 · LAX 03:24 · JFK 06:24
    ♥ Do have faith in what you're doing.