Skip to content

URLVisitsScript is a collection of scripts that enables users to automate the repetitive task of visiting a specific URL multiple times in the terminal. With this script, users can easily specify a target URL and the number of times they want to visit it. The script utilizes the power of automation to simplify the process and save time

Notifications You must be signed in to change notification settings

5h4kun1/URLVisitsScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URLVisitsScript

Description: URLVisitsScript is a collection of scripts that enables users to automate the repetitive task of visiting a specific URL multiple times in the terminal. With this script, users can easily specify a target URL and the number of times they want to visit it. The script utilizes the power of automation to simplify the process and save time.

Key Features:

  1. User-friendly interface: The script prompts the user to enter a specific URL and the desired number of visits in the terminal.
  2. Automation: The script automates the process of visiting the URL multiple times, eliminating the need for manual intervention.
  3. Efficiency: Users can efficiently test website performance, load times, or gather data by repeatedly visiting the URL.
  4. Customization: The script allows users to flexibly adjust the number of visits, enabling them to simulate various scenarios.
  5. Terminal-based execution: The script runs entirely in the terminal, making it accessible and easy to use across different platforms.

Whether you want to test the responsiveness of a website, analyze its behavior under repeated visits, or perform any other similar tasks, URLVisitsScript provides a convenient and efficient solution.

Usage: (For T1.py)

To use the URLVisitsScript, follow these steps:

  1. Make sure you have Python installed on your system.
  2. Clone the repository or download the script file.
  3. Open a terminal or command prompt and navigate to the directory where the script is located.
  4. Run the script by executing the following command: python script_name.py
  5. Enter the URL you want to visit when prompted.
  6. Enter the number of times you want to visit the URL when prompted.
  7. The script will automatically open the specified URL in your default web browser for the specified number of visits.

Usage: (For T2.py)

  1. Make sure you have Python installed on your system.

  2. Clone the repository or download the script file.

  3. Open a terminal or command prompt and navigate to the directory where the script is located.

  4. Run the script by executing the following command: python script_name.py

  5. When prompted, enter the URL you want to visit (e.g., https://example.com).

  6. Enter the number of times you want to visit the URL (e.g., 5).

  7. The script will send GET requests to the specified URL for the specified number of visits, printing the URL and the response status code in the terminal.

You can customize the handling of the response according to your needs. For example, you might want to analyze the response content, headers, or perform additional operations based on the response status code.

use chmod +x bash.file to give the executable running permission

About

URLVisitsScript is a collection of scripts that enables users to automate the repetitive task of visiting a specific URL multiple times in the terminal. With this script, users can easily specify a target URL and the number of times they want to visit it. The script utilizes the power of automation to simplify the process and save time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published