Skip to content

Instantly share code, notes, and snippets.

View BhuwanPandey's full-sized avatar

Bhuwan Pandey BhuwanPandey

View GitHub Profile
@BhuwanPandey
BhuwanPandey / restaurant_scrape.py
Created January 8, 2025 12:27
Scrape Restaurant data with Selenium
import csv
import time
from bs4 import BeautifulSoup
from selenium import webdriver
from selenium.common.exceptions import TimeoutException
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import WebDriverWait