网址监控

2023-02-14 15:33:24 浏览数 (1)

`import requests import time a = input("监控间隔:") shijian = int(a) wangzhi = input("监控网址(加http://):") i = 0 url = f"{wangzhi}"

while 1<2:

代码语言:javascript复制
i = i   1
time.sleep(shijian)
resp = requests.get(url)
print("已经监控:"   str(i)  "次")

` 可以监控码支付,mz

0 人点赞