Amazing-Python-Scripts

Форк
0

..
/
Website-Status-Checker 
4 года назад
README.md

Website Status Checker

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

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.