mirror of
https://github.com/AmanTahiliani/webcrawler.git
synced 2026-08-07 11:55:41 -04:00
a2e327a29add0f50d224a4e49367739402bb160c
webcrawler
Instructions to run
- Clone the repository
git clone https://github.com/AmanTahiliani/webcrawler.git
- cd into the directory
cd webcrawler
- Install the requirements
pip install -r requirements.txt
- Run the shell script
./amantahiliani.sh
Note: If you get a permission denied error, run the following command
chmod +x amantahiliani.sh
If it still doesn't work, run the following command
python3 MultiThreadedCrawler.py {seed_url} --pages_to_parse=1000
Output
The output is generated in the form of the following files:
- pages_per_second.png - A graph showing the number of pages crawled per second
- craw_ratio_table.png- A table showing the ratio of pages crawled to pages discovered
- crawlspeed.png- A graph showing the crawl speed in pages per minute
- Keywords_Output.json- A json file containing the keywords and the urls they were found in along with the frequency of the keyword in the url
Description
Languages
Python
98.8%
Shell
1.2%