karlxu
V2EX  ›  问与答

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

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