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
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
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