Skip to content

Instantly share code, notes, and snippets.

@XWilliamY
Created September 10, 2020 15:39
Show Gist options
  • Save XWilliamY/88497ff4154ea3b798f7395ac69677ac to your computer and use it in GitHub Desktop.
Save XWilliamY/88497ff4154ea3b798f7395ac69677ac to your computer and use it in GitHub Desktop.
#0
from autoscraper import AutoScraper
#1
url = "https://www.yelp.com/biz/chun-yang-tea-flushing-new-york-flushing?osq=bubble%20tea&sort_by=date_desc"
#2
wanted_list = ['Tried their Brown Sugar milk tea and it was not bad compare to Tiger Sugar. I prefer this over Tiger Sugar due to the L size option and sweetness content. It was my to go bubble tea spot for the last two days straight. Will visit again!']
#3
scraper = AutoScraper()
#4
result = scraper.build(url, wanted_list)
print(result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment