mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-11-10 10:05:18 +00:00
Update Nlbench_beta.sh
This commit is contained in:
parent
9604bb0b5b
commit
d291d70259
@ -57,7 +57,7 @@ ip_address_and_isp() {
|
||||
ipv6_address=$(curl -s --max-time 5 ipv6.ip.sb)
|
||||
|
||||
# 获取ISP信息
|
||||
isp_info=$(curl -s https://ipapi.co/json/)
|
||||
isp_info=$(curl -s ipinfo.io/org)
|
||||
isp=$(echo "$isp_info" | grep -oP '(?<="org":")[^"]*')
|
||||
asn=$(echo "$isp_info" | grep -oP '(?<="asn":")[^"]*')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user