This script fetches the user's public IP address and related geographical data. It provides options for manual IP entry or automatic detection. Data retrieval is facilitated through web scraping and API queries.
- Fetches public IP address and geographical information.
- Options for manual IP entry or automatic detection.
- Utilizes web scraping and API queries for data retrieval.
- Error handling for graceful execution.
-
Clone the repository:
git clone https://github.com/LupusJM/FetchIP.git
-
Navigate to the project directory:
cd FetchIP
-
Run the script:
python main.py
-
Follow the prompts to input or detect the IP address.
-
View the fetched geographical information.
- Python
- Requests library
- BeautifulSoup library