https://github.com/get-unknown-err0r/ip-scraper
The Website IP Scraper project is a Python and Shell-based program that allows you to resolve the IP address of multiple websites, useful for network diagnostics, monitoring, and educational purposes.
https://github.com/get-unknown-err0r/ip-scraper
arpit-prajapati batchfile-lang get-unknown-err0r github ip-finder ip-scrapper pip python shell-script
Last synced: 4 days ago
JSON representation
The Website IP Scraper project is a Python and Shell-based program that allows you to resolve the IP address of multiple websites, useful for network diagnostics, monitoring, and educational purposes.
- Host: GitHub
- URL: https://github.com/get-unknown-err0r/ip-scraper
- Owner: GET-UNKNOWN-ERR0R
- Created: 2024-12-29T19:45:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-30T13:01:30.000Z (over 1 year ago)
- Last Synced: 2025-02-24T10:48:18.565Z (over 1 year ago)
- Topics: arpit-prajapati, batchfile-lang, get-unknown-err0r, github, ip-finder, ip-scrapper, pip, python, shell-script
- Language: Shell
- Homepage:
- Size: 43 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Website IP Scraper
## Description
The **Website IP Scraper** project is a Python and Shell-based program that allows you to resolve the IP address of multiple websites. The program fetches URLs from a file (`urls.txt`), uses a Shell script to automate the process, and uses Python's built-in `socket` library to resolve and print the IP addresses of the websites.
This is a simple tool that can be used to check the IP addresses of websites, useful for network diagnostics, monitoring, and educational purposes.
---

## Features
- Fetches a list of websites from a text file (`urls.txt`).
- Uses **Shell scripting** to automate the process of passing each URL to a Python script.
- Resolves the IP address for each URL using Python's **`socket`** library.
- Displays the website along with its corresponding IP address.
- Handles errors if a website cannot be resolved.
---
## Prerequisites
- **Python 3.x** installed on your system.
- **No external libraries** are needed; the program uses Python's built-in **`socket`** library.
- **Shell** (for running the Shell script on Linux/Mac, or Windows Subsystem for Linux).
---
## Installation & Setup
### 1.Clone the Repository
If you're using a Git repository, clone the project to your local machine:
```bash
git clone https://github.com/GET-UNKNOWN-ERR0R/ip-scraper.git
cd ip-scraper
```
### 2.Executable cmds
```bash
chmod +x fetch_urls.sh
```
### 3.Run
```bash
./fetch_urls.sh
```
## License