Determine the status code of a website, and intercept the status code to determine whether the status code is 200. URL is the corresponding URL, and the test can use www.baidu.com. Abnormal URL can be used

NoSuchKey

Guess you like

Origin blog.csdn.net/zhangthree1/article/details/109129862