公告板
版本库
filestore
活动
搜索
登录
main
/
AutoMediaPublisher
自动生成和发布短视频等
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
Merge branch 'master' of http://222.71.114.84:7070/r/AutoMediaPublisher
wangzhibo
2025-07-30
c36d5f620b30bef644a770e8e4cb71ff60d654d8
[AutoMediaPublisher.git]
/
test
/
test_network_check.py
1
2
3
4
5
6
7
import sys
from auto_media_publisher.utils.utils_network import get_public_ip_info
ip,city = get_public_ip_info(sys.argv[1])
print(ip)
print(city)