Skip to content

nassorh/BBC-Ingredients-Scraper

Repository files navigation

BBC Ingredients Scraper

The Scraper will save the following information in an excel file called BBC Recipe Data using a BBC food url:

  • The Ingredients' Title
  • Total time required to prepare the recipe
  • The URL of the food's image.
  • List of ingredients
  • Rating Value
  • Number of reviews
  • Catergory of the food
  • Foods' cusisine
  • Dietry
  • Whether it is vegan or not
  • Whether it is vegetarian or not
  • The food's URL

Run Locally

Clone the project

  git clone https://github.com/nassorh/BBC-Ingredients-Scraper.git

Go to the project directory

  cd BBC-Ingredients-Scraper-main

Install dependencies

  pip install -r requirements.txt

Run the code

  python main.py

Running Tests

To run tests, run the following command

  python URLTest.py
  python ScarperTest.py

Note: In order for test_scraper BBC Recipe Data.csv must be empty

Demo

demo

About

BBC Food Web Scraper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages