Skip to content

Commit b1978c4

Browse files
committed
修改说明文件匹配代码
1 parent 4c677e7 commit b1978c4

2 files changed

Lines changed: 17 additions & 13 deletions

File tree

README.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ IPAddressQuery -a 114.114.114.11
2828
~~~
2929
* 运行效果
3030
~~~shell
31-
IPAddressQuery -a 114.114.114.114
32-
查询的IP: 114.114.114.114
33-
归属地为: 中国, 山东省, 潍坊市
34-
时区: Asia/Shanghai
35-
经度: 119.162 纬度: 36.7069
36-
互联网服务提供商: China Unicom Shandong Province network
31+
IPAddressQuery -a 69.154.123.56
32+
查询的IP:69.154.123.56
33+
归属地为: 美国, 阿肯色州, 费耶特维尔
34+
时区: America/Chicago
35+
经度: -94.1523 纬度: 36.0613
36+
互联网服务提供商: AT&T Services, Inc.
37+
谷歌地图: https://www.google.com/maps/place/36.0613+-94.1523
38+
3739
~~~
3840
* 支持 proxychains4 代理 查询
3941
~~~shell
@@ -53,10 +55,12 @@ options:
5355
~~~
5456
### exe 使用方法
5557
~~~powershell
56-
IPAddressQuery.exe -a 114.114.114.114
57-
查询的IP:114.114.114.114
58-
归属地为: 中国, 山东省, 潍坊市
59-
时区: Asia/Shanghai
60-
经度: 119.162 纬度: 36.7069
61-
互联网服务提供商: China Unicom Shandong Province network
58+
IPAddressQuery -a 69.154.123.56
59+
查询的IP:69.154.123.56
60+
归属地为: 美国, 阿肯色州, 费耶特维尔
61+
时区: America/Chicago
62+
经度: -94.1523 纬度: 36.0613
63+
互联网服务提供商: AT&T Services, Inc.
64+
谷歌地图: https://www.google.com/maps/place/36.0613+-94.1523
65+
6266
~~~

main/IPAddressQuery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def main():
9292
print(f"查询的IP:{ip_query}\n归属地为: {ip_country}, {ip_regionName}, {ip_city}\n时区: {ip_timezone}")
9393
print(f"经度: {ip_lon}\t纬度: {ip_lat}")
9494
print(f"互联网服务提供商: {ip_isp}")
95-
print(f"https://www.google.com/maps/place/{ip_lat}+{ip_lon}")
95+
print(f"谷歌地图: https://www.google.com/maps/place/{ip_lat}+{ip_lon}")
9696

9797
if args.version:
9898
print(json.dumps(ip_json, indent=4))

0 commit comments

Comments
 (0)