1
charove 2016-05-21 20:37:46 +08:00 via Android 2
|
2
tcp 2016-05-21 20:42:26 +08:00 via iPhone 1
dig +short myip.opendns.com @resolver1.opendns.com
|
3
china521 2016-05-21 20:47:32 +08:00 1
|
4
soli OP @charove http://members.3322.org/dyndns/getip 这个的输出结果是我想要的,但是 URL 太长了,不好记不好输入哈。
|
10
yywudi 2016-05-21 22:41:14 +08:00
|
11
am241 2016-05-21 22:49:08 +08:00
|
12
am241 2016-05-21 22:50:34 +08:00
格式怎么成这个鬼样子了
测试 ```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-05-21 22:58:18 +08:00 1
|
16
xmbaozi 2017-11-16 10:51:01 +08:00
|
18
xmbaozi 2017-11-16 11:42:22 +08:00
|
19
xmbaozi 2017-11-16 11:48:11 +08:00
|
20
soli OP |
21
xmbaozi 2017-11-16 15:50:20 +08:00
https://haoip.cn/ 下还有其他页面,不想混一起
|
25
stevenhawking 2019-08-14 11:13:00 +08:00
|
26
lxk11153 2019-12-05 09:46:42 +08:00
我来加几个参数: ` 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. |