Skip to content

The change_ip() function in this Python script uses the requests and BeautifulSoup libraries to retrieve the current IP address from a website and then fetch a new IP address and port number from a proxy website. The script prints both the current and new IP addresses to the console.

License

Notifications You must be signed in to change notification settings

hamarshehmhmd/IPChanger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Change IP Address Script

This script uses the requests and BeautifulSoup Python libraries to obtain the current IP address and then retrieve a new IP address and port number from a proxy website.

Requirements

  • Python 3.x
  • requests library
  • BeautifulSoup library

Installation

  1. Install Python 3.x from the official website.

  2. Install the requests library by running the following command in your terminal:

  3. Install the BeautifulSoup library by running the following command in your terminal:

Usage

  1. Clone the repository or download the script.
  2. Open a terminal window and navigate to the directory where the script is saved.
  3. Run the script by typing the following command in your terminal:

License

This project is licensed under the Apache Licence 2.0 - see the LICENSE file for details.

About

The change_ip() function in this Python script uses the requests and BeautifulSoup libraries to retrieve the current IP address from a website and then fetch a new IP address and port number from a proxy website. The script prints both the current and new IP addresses to the console.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages