Skip to content

PHPRecipe is Web Scraper and Parser Recipes Scheme for AllRecipes.com and Food.com.

License

Notifications You must be signed in to change notification settings

ahmadjn/PHPRecipe

Repository files navigation

PHPRecipe

PHPRecipe

PHPRecipe is PHP Scraper and Parser Recipes Scheme for Recipes Site like Allrecipes.com and Food.com with Cache Feature. Output data files is JSON Formatted that contains Recipe Name, Recipe Image, Ingredients, Instruction and Review.

Current Cache Files = 76.068 Files(Recipes) for Parser and Export.

How to Use

Download this Repo Package ("src" folder), Unzip and Run this command below in Terminal from PHPRecipe folder.

Scraper

Set Scraper using config in constant.php file and run this command :

php resep.php

or If you using Windows, just execute "run.bat" file.

Export

Export JSON data file to HTML Formatted for Hugo Content. Use command below

php convert_md.php

Requirements

PHP 7.2+

Notes

Outputnya masih JSON, sementara dibuat Converternya untuk MD/HTML file untuk HUGO dan HTML file untuk Blogger (Belum bikin untuk XML Blogger).

License

MIT

About

PHPRecipe is Web Scraper and Parser Recipes Scheme for AllRecipes.com and Food.com.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published