Skip to content

Valhalla999/SiteCheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SiteCheck

Website Status Checker

A simple Python script to check the status of a website by sending an HTTP request and examining the response code.

Getting Started

Prerequisites

  • Python 3.x
  • requests library

Install the requests library using the following command:

pip install requests

Usage

  1. Clone the repository:
git clone https://github.com/Valhalla999/website-status-checker.git
cd website-status-checker
  1. Run the script:
python website_status_checker.py
  1. Enter the website URL when prompted.

  2. View the status of the website.

Example

Enter the website URL: https://www.example.com
The website https://www.example.com is up and running.
Do you want to check another website? (y/n): y
Enter the website URL: https://www.anotherexample.com
The website https://www.anotherexample.com is down. Status code: 404
Do you want to check another website? (y/n): n
Goodbye!

Contributing

If you have suggestions or find issues, please feel free to open an issue or create a pull request.

License

This project is licensed under the MIT License. ``

About

Check if a Website is up or down

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages