Tasty Scraper avatar
Tasty Scraper
Try for free

3 days trial then $10.00/month - No credit card required now

View all Actors
Tasty Scraper

Tasty Scraper

epctex/tasty-scraper
Try for free

3 days trial then $10.00/month - No credit card required now

Gather data on millions of recipes, articles, and compilations. Extract descriptions, images, ingredients, videos, and more. Customize your searches with filters for targeted results.

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    "search": "cucumber",
9    "startUrls": [
10        "https://tasty.co/search?q=avocado&sort=popular",
11        "https://tasty.co/recipe/tuna-avocado-tartine",
12        "https://tasty.co/article/melissaharrison/easy-dinner-recipes",
13        "https://tasty.co/compilation/4-unique-ways-to-cook-eggs",
14        "https://tasty.co/topic/healthy",
15        "https://tasty.co/ingredient/chicken",
16    ],
17    "maxItems": 20,
18    "endPage": 1,
19    "extendOutputFunction": "($) => { return {} }",
20    "customMapFunction": "(object) => { return {...object} }",
21    "proxy": { "useApifyProxy": True },
22}
23
24# Run the Actor and wait for it to finish
25run = client.actor("epctex/tasty-scraper").call(run_input=run_input)
26
27# Fetch and print Actor results from the run's dataset (if there are any)
28for item in client.dataset(run["defaultDatasetId"]).iterate_items():
29    print(item)
Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • 100.0% runs succeeded
  • 0.0 days response time
  • Created in May 2022
  • Modified about 22 hours ago