30-days-of-python_Day 22

This is continuously talking about the web scrape.

import requestsfrom bs4 import BeautifulSoup base_url = ‘https://www.yelp.com/search?find_desc=Restaurants&find_loc='loc = ‘Newport+Beach,+CA’page = 10 url = base_url + loc + “&start=” + str(page) yelp_r = requests.get(url)yelp_soup = BeautifulSoup(yelp_r.text, ‘html.parser’)

Like what you read? Give Jeff Cheng a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.