Note 发表于 2020-6-18 11:06:23

Python使用requests模块查询 IP

本帖最后由 Note 于 2020-6-18 14:18 编辑

IP 地址查询 ip138.com

macOS 中,在 Terminal 输入 curl 某些站点,即可看到自己电脑的公网 IP 地址。

curl ip-api.com# 推荐
curl icanhazip.com
curl ident.me


- python 检测代理IP是否有效 https://blog.csdn.net/xc_zhou/article/details/103497543

- python学习-使用requests模块查询ip地址 https://blog.51cto.com/11555417/2104159
学习笔记:淘宝IP地址库 http://ip.taobao.com/

- python学习笔记9——requests 获取当前ip https://www.jianshu.com/p/a317f7095a9a
学习笔记:
> AttributeError: 'WrappedSocket' object has no attribute 'getpeername'

- python requests库爬取网页小实例:ip地址查询 https://blog.csdn.net/weixin_30603633/article/details/94902275


- 2020-02-07 How to find your IP address in Linux https://opensource.com/article/18/5/how-find-ip-address-linux


- How do I get the IP address from a http request using the requests library? https://stackoverflow.com/questions/22492484/how-do-i-get-the-ip-address-from-a-http-request-using-the-requests-library


页: [1]
查看完整版本: Python使用requests模块查询 IP