Scrape Data from Yelp (including phone numbers)
Web Scraping with Franek
0:00 / 0:00
Scrape Data from Yelp (including phone numbers)
3 297 просмотров · 2 г. назад
Web Scraping with Franek
2,08 тыс. подписчиков
3 297 просмотров · 2 г. назад
🚀 Extract up to 240 businesses per search, including phone numbers & websites! 🚀
🔹 Download Octoparse: https://bit.ly/3F3r3rl
💰 20% Discount with Coupon: REP20
🎁 Get 100 B2B Leads for Free: https://scrap.id/s/1xY
📩 Need a Web Scraping Service? Contact: fdufaurboidin@gmail.com
What You'll Learn in This Video
✅ Scrape business details from Yelp, including:
Name, rating, reviews, type, address, phone number, and website
✅ Avoid sponsored results & only scrape SEO listings
✅ Use XPaths for precise data extraction
✅ Automate pagination to scrape multiple pages
✅ Extract up to 240 records per search!
Timestamps
⏱ 01:07 — Setting Up Octoparse & Importing Yelp Search URL
⏱ 02:16 — Creating a Loop to Select Business Listings
⏱ 03:33 — Automating Pagination (Next Page Button)
⏱ 04:55 — Clicking Each Business to Extract Details
⏱ 06:12 — Extracting Data (Store Name, Rating, Address, Phone, Website)
⏱ 07:59 — Running the Scraper & Exporting Data
XPaths used:
Pagination
//a[@aria-label="Next"]
Loop_Item (replace by the correct sign):
//li[descendant::h2[starts-with(text(), "All")]]/following-sibling::li[position()INFERIOR_THAN_SIGN=10]
Click_Item:
//a[ancestor::h3]
Extract_Data:
Store_Name:
//h1
Rating:
//span[a[@href="#reviews"]]/preceding-sibling::span[1]
Reviews:
//a[@href="#reviews"]
Type:
//span[a[starts-with(@href, "/search?find_desc")]]/..
Address:
//p[a[text()="Get Directions"]]/following-sibling::p[1]
Website:
//p[text()="Business website"]/following-sibling::p[1]
Phone_Number:
//p[text()="Phone number"]/following-sibling::p[1]
Why Scrape Yelp Data?
🔹 Find potential leads for B2B marketing
🔹 Analyze competitor businesses
🔹 Automate data collection for market research
🔹 No coding required with Octoparse!
Tools Used in This Video
🛠 Octoparse – No-Code Web Scraping Tool
🛠 XPath Helper – Chrome extension to test XPath queries
🛠 Google Chrome DevTools – Inspect elements & extract page structure
👍 Like & Subscribe for more Web Scraping tutorials!
📩 Need help? Drop a comment or contact me for professional services.
#WebScraping #YelpScraping #DataExtraction #Octoparse #NoCode #LeadGeneration 🚀