urlCheck 批量检测链接是否有效的小工具
urlCheck
批量检测链接是否有效
使用教程
在命令行中1
python urlCheck.py --url https://google.com https://youtube.com
从文件中读取1
python urlCheck.py --file test.txt
保存结果到文件1
python urlCheck.py --file test.txt --out result.txt
设置保存的格式,通过out-flag选项,默认值是tcu。
1 | python urlCheck.py --url https://github.com https://dadawdd --out result.txt --out-flag ctu |
参数
1 | -h,--help show this help message and exit |
out-flag
仅支持t,c,u,默认是tcu,即以测试时间,测试返回值,测试链接 格式保存
| flag | description |
|---|---|
| t | 测试时间 |
| c | 测试返回值 |
| u | 测试链接 |
可以任意进行组合
下载
Github链接更新记录
2024-11-03 0.0.1
- 实现从命令行解析和文件解析
- 保存结果到文件
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 家宇的博客!







