Scrape and convert recipes to markdown
Project description
Down
load a recipe to Markdown
Setup
- Install Poetry:
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
- Clone this repository:
git clone https://gitlab.com/muchomuchacho/recipe-to-md.git
cd recipe-to-md
- Install the
downrec
CLI tool:poetry install
Details
The logic behind the way this works is somehow aligned to my personal workflow but it should be quite easy to adapt to others.
- It scrapes a recipe, converts it to markdown and saves the content to a
.md
file in your current working directory. - Downloads the main image and places it in a folder of your choice relative to the location of the
.md
file.
Do all that with one simple command: downrec 'Salmon With Courgette Ribbon & Feta Salad'
(Or any other recipe of your choice)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
recipe_md-0.1.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for recipe_md-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77d83bfc0343a7f2ba562631cfe1c7e50d5b4526d88d40a46cc75e569a3c05c3 |
|
MD5 | ba208f13d16b1f2b24a34ec412a834ed |
|
BLAKE2b-256 | 4b6837f46b1eb24b67577f178e1c3d80bdab8538f7f3a0eafe2b40496551ab42 |