Python使用代理检测域名状态

🏦 Python3 环境

pip install aiohttp requests playwright jinja2 fake_useragent yaml

  • config.yaml

proxies:
  - http://user01:password@ip:port
  - http://user02:password@ip:port


domains:
  - https://baidu.com
  - https://qq.com


# 检测 H5 使用
SLOW_THRESHOLD: 3000


# 检查状态码使用
ALLOW_STATUS_CODE: 
  - 200

# 检查状态码使用
telegram:
  enable: true
  bot_token: 000000:000000000000
  chat_id: -000000

Last updated