Created
September 10, 2020 15:39
-
-
Save XWilliamY/88497ff4154ea3b798f7395ac69677ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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