Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.57 KB

README.md

File metadata and controls

51 lines (39 loc) · 1.57 KB

Web Scraper - Lok Sabha 2024 Election Results

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.

Table of Contents

Installation

  1. Clone the repository:
    git clone https://github.com/vaishnavii5/Web-Scraper-Lok-Sabha.git
  2. Navigate to the project directory:
    cd Web-Scraper-Lok-Sabha
  3. Install the required dependencies:
    pip install -r requirements.txt

Usage

  1. Open main.ipynb in Jupyter Notebook.
  2. Execute the notebook cells to run the web scraper and collect the election data.
  3. The scraped data will be saved in lok_sabha_election_results_2024.csv.

Project Structure

  • 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.

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature-branch).
  5. Create a new Pull Request.