Skip to content

Instantly share code, notes, and snippets.

@XWilliamY
Last active September 10, 2020 15:20
Show Gist options
  • Save XWilliamY/02fa39ef756dc2661b51c3015fa6b99a to your computer and use it in GitHub Desktop.
Save XWilliamY/02fa39ef756dc2661b51c3015fa6b99a to your computer and use it in GitHub Desktop.
from bs4 import BeautifulSoup
url = "https://www.yelp.com/biz/chun-yang-tea-flushing-new-york-flushing?osq=bubble%20tea&sort_by=date_desc"
browser.get(url)
response = BeautifulSoup(browser.page_source, 'html.parser')
published = response.find_all('span', class_='lemon--span__373c0__3997G raw__373c0__3rKqk')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment