A Python-based web scraper designed to extract data from the 2024 Lok Sabha election results. This project utilizes BeautifulSoup within Jupyter Notebook for web scraping tasks.
- Clone the repository:
git clone https://github.com/vaishnavii5/Web-Scraper-Lok-Sabha.git
- Navigate to the project directory:
cd Web-Scraper-Lok-Sabha
- Install the required dependencies:
pip install -r requirements.txt
- Open
main.ipynb
in Jupyter Notebook. - Execute the notebook cells to run the web scraper and collect the election data.
- The scraped data will be saved in
lok_sabha_election_results_2024.csv
.
main.ipynb
: Main notebook to run the scraper.trials.ipynb
: Notebook for testing and trials.lok_sabha_election_results_2024.csv
: CSV file containing the scraped election results.REPORT.md
: Report detailing the project and its findings.README.md
: Project documentation..gitignore
: Specifies files and directories to be ignored by Git.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.