Amazing-Python-Scripts/Website-Status-Checker at main · avinashkranjan/Amazing-Python-Scripts

This script will check the status of the web address which you will input

Installation

  • Install Python to your system if it's not available.

Now you are ready to run the code

Steps to run:

  • Open the website_status_checker.py file i.e run it.
  • To run it, you can open command prompt/shell/terminal in the containing folder and type the following command:
    python website_status_checker.py
    

Output:

The Status Code of the Website

There are 5 different types of status codes:

1xx — This lets us know that the request was recieved 2xx- This shows that the request was successful 3xx — This is for redirects (temporary and permanent) 4xx — Client errors 5xx- Server errors