Skip to main content

Allows you to easily search and scrape recipes from

Project description

Build Status Coverage Status PyPI Python Versions

Search your favorite recipes from Food Network and then scrape their contents.


pip install food_network_wrapper


import methods

from food_network_wrapper import recipe_search, get_n_recipes, scrape_recipe

Search recipes

rthumbnails = recipe_search("pad thai")

Returns up to 10 RThumbnail objects in a list

To get more recipes you have to increment the page parameter

rthumbnails = recipe_search("pad thai", page=2)

Or you can use the shortcut method

rthumbnails = get_n_recipes("pad thai", n=31)

Scrape a recipe

recipe = scrape_recipe("")

Use search and scrape together

rthumbnails = get_n_recipes("pad thai", n=31)
recipes = []
for i in rthumbnails:
   recipe = scrape_recipe(i.url)

For more examples check out ` <>`__

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

food_network_wrapper-1.2.tar.gz (3.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page