1
charove 2016 年 5 月 21 日 via Android |
2
tcp 2016 年 5 月 21 日 via iPhone dig +short myip.opendns.com @resolver1.opendns.com
|
3
china521 2016 年 5 月 21 日 |
4
soli OP @charove http://members.3322.org/dyndns/getip 这个的输出结果是我想要的,但是 URL 太长了,不好记不好输入哈。
|
10
yywudi 2016 年 5 月 21 日
|
11
am241 2016 年 5 月 21 日
|
12
am241 2016 年 5 月 21 日
格式怎么成这个鬼样子了
测试 ```python get_ip_url = [ 'http://ip.6655.com/ip.aspx', 'http://members.3322.org/dyndns/getip', 'http://icanhazip.com/', 'http://ident.me/', 'http://ipecho.net/plain', 'http://whatismyip.akamai.com/', 'http://myip.dnsomatic.com/', ] ``` |
13
ChoateYao 2016 年 5 月 21 日 |
16
xmbaozi 2017 年 11 月 16 日
|
18
xmbaozi 2017 年 11 月 16 日
|
19
xmbaozi 2017 年 11 月 16 日
|
20
soli OP |
21
xmbaozi 2017 年 11 月 16 日
https://haoip.cn/ 下还有其他页面,不想混一起
|
25
stevenhawking 2019 年 8 月 14 日
|
26
lxk11153 2019 年 12 月 5 日
我来加几个参数: ` curl -q -Lm 9 ip.cn/ `
-q, --disable If used as the first parameter on the command line, the curlrc config file will not be read and used. -L, --location (HTTP) If the server reports that the requested page has moved to a different location (indicated with a Location: header and a 3XX response code), this option will make curl redo the request on the new place. -m, --max-time <seconds> Maximum time in seconds that you allow the whole operation to take. |