Yelp Scraper avatar
Yelp Scraper
Try for free

7 days trial then $20.00/month - No credit card required now

View all Actors
Yelp Scraper

Yelp Scraper

tri_angle/yelp-scraper
Try for free

7 days trial then $20.00/month - No credit card required now

Free Yelp web scraper to extract data from Yelp. Fast Yelp review scraper, but also gets business details and ratings without using the Yelp API.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8    "searchTerms": ["Pizza"],
9    "locations": ["New York"],
10    "searchLimit": 10,
11    "maxImages": 1,
12    "reviewLimit": 5,
13    "reviewsLanguage": "ALL",
14    "proxy": {
15        "useApifyProxy": True,
16        "apifyProxyGroups": ["RESIDENTIAL"],
17    },
18}
19
20# Run the Actor and wait for it to finish
21run = client.actor("tri_angle/yelp-scraper").call(run_input=run_input)
22
23# Fetch and print Actor results from the run's dataset (if there are any)
24for item in client.dataset(run["defaultDatasetId"]).iterate_items():
25    print(item)
Developer
Apify logo Maintained by Apify
Actor metrics
  • 130 monthly users
  • 98.9% runs succeeded
  • 12.6 days response time
  • Created in Dec 2019
  • Modified 6 days ago
Categories

You might also like these Actors