https://github.com/manasjadhav0086/data-scraping-using-selenium
A Python project using Selenium to scrape restaurant data from the Zomato website. Extracts details like restaurant names, discounts, famous dishes, locations, ratings, and costs for two, saving the data to a CSV file for analysis.
https://github.com/manasjadhav0086/data-scraping-using-selenium
pandas selenium selenium-webdriver
Last synced: 7 days ago
JSON representation
A Python project using Selenium to scrape restaurant data from the Zomato website. Extracts details like restaurant names, discounts, famous dishes, locations, ratings, and costs for two, saving the data to a CSV file for analysis.
- Host: GitHub
- URL: https://github.com/manasjadhav0086/data-scraping-using-selenium
- Owner: manasjadhav0086
- Created: 2024-12-10T11:11:18.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-12-10T11:18:37.000Z (4 months ago)
- Last Synced: 2025-03-31T06:46:08.694Z (7 days ago)
- Topics: pandas, selenium, selenium-webdriver
- Language: Jupyter Notebook
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zomato Data Scraping Project
A Python project using Selenium to scrape restaurant data from the Zomato website. Extracts details like restaurant names, discounts, famous dishes, locations, ratings, and costs for two, saving the data to a CSV file for analysis.
## Features
- **Dynamic Scraping**: Extract restaurant details from Zomato in real-time.
- **CSV Export**: Save data in a structured, reusable format.
- **Reusable Script**: Clear and easy-to-follow script for beginners and professionals.## Requirements
- **Python**: Version 3.7 or later.
- **Libraries**: Selenium, Pandas.
- **Browser**: Google Chrome and ChromeDriver (added to system path).## Installation
1. **Clone Repository**:
```bash
git clone https://github.com/yourusername/zomato-scraper.git
cd zomato-scraper
```
2. **Install Dependencies**:
```bash
pip install selenium pandas
```
3. **Set Up ChromeDriver**:
[Download ChromeDriver](https://chromedriver.chromium.org/downloads) and add it to your system path.
## Example Output
| Restaurant Name | Discount | Famous Dishes | Location | Rating | Cost for Two |
|-----------------|----------|------------------|----------|--------|--------------|
| Example Bistro | 20% Off | Pasta, Pizza | Baner | 4.5 | ₹1,200 |## Disclaimer
This project is for educational purposes only. When scraping, ensure compliance with Zomato's terms of service.## Contributing
Contributions are welcome! Open issues or submit pull requests to improve the project.