Web Crawler is a Python script designed to fetch URLs and check given domain names.
The Web Crawler is a Python-based application designed to crawl web pages and retrieve URLs similar to web.archive.org. It provides functionalities to fetch URLs from specified hosts or a list of domains and to check the status of given domain names.
- URL Fetching: Fetch URLs from a specific host or a list of domains.
- Domain Name Checking: Check the status of given domain names.
- Multithreading Support: Utilize multiple threads to improve performance.
- Subdomain Crawling: Option to enable or disable subdomain crawling.
- Output File Saving: Save the results to an output file for further analysis.
- Python 3.x
- Clone the repository:
git clone https://github.com/MrHarshvardhan/Web_Crawler
function: Specify the function to execute (pullorcheck).--host HOST: Domain/Host Name.--threads THREADS: The number of threads (default: 5).--with-subs WITH_SUBS: Specifyyesorno(default:yes).--loadfile LOADFILE: File location.-o OUTPUTFILE,--outputfile OUTPUTFILE: Output file to save results.
To fetch URLs from a specific host:
python web_crawler.py pull --host example.compython web_crawler.py -d pull --host example.comTo fetch URLs from a list of domains:
python web_crawler.py pull --loadfile domains.txtTo check the status of given domain names:
python web_crawler.py check --loadfile domains.txtTo specify the number of threads:
python web_crawler.py pull --host example.com --threads 10
To save the results to an output file:
python web_crawler.py pull --host example.com --outputfile results.txt