rzqtest
检测url的可访问性和证书剩余有效期,并输出不符合条件的结果。
python -m rzqtest switch urlfile emailconf
switch参数说明
| 参数 | 说明 |
|---|---|
| c[number] | 启用证书检测和证书剩余时间上限,number不可省,如c200,会返回小于200天的站点信息。 |
| u | 启用url可访问性检测。 |
| p | 将格式化结果打印在屏幕上。 |
| e | 将格式化结果以邮件发送,必须指定emailconf文件的路径,可以配合选项v使用。 |
| r | 将结果以python原生格式,输出到屏幕。 |
| v | 反向选择结果,配合选项p,r,e使用。 |
urlfile文件格式
# 注释
https://www.baidu.com
emailconf文件格式
server:domain:port:account:password
# 不以server:开头的行,均视为邮件接收者的一员。
xxxxx@qq.com
cccccc@gmail.com
Release files for rzqtest 0.0.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rzqtest-0.0.15.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rzqtest-0.0.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.2 kB
Release files / rzqtest-0.0.15.tar.gz
| Download URL | rzqtest-0.0.15.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53ccb2701e1ff6c819b033862e161229fa501f8a9d1a6f907834e8bc35c5e7a1
|
|
BLAKE2b-256 checksum How to use checksums |
ab3a10fa0ab0af0b1c53ec75c921757e1deb02aa35f656a0d5acfca1f37aebea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1
|
Release files / rzqtest-0.0.15-py3-none-any.whl
| Download URL | rzqtest-0.0.15-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4edc04a058ba50a6bd533dac8c7a0ea274e749ad6b2e603fbdd5cfc861c379a
|
|
BLAKE2b-256 checksum How to use checksums |
da2e6d71a0553d5dee852b697e3e34d67dcf3f264f6ccfa4eb76a2934936d59c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1
|